/* 
 *CN酒店搜索
 *@author 蔡天旭	
 *@data 2011-11-11
 */

soso_HotelSearch_IS = false;//处理已经加载
var soso_FindValue = null;//酒店API查詢值
var soso_typeAjax = 0;//品牌判断参数
var soso_brandId = 0;//品牌判断参数
var soso_brandName = "如家";//品牌判断参数
if(!_$.date)
{
	//_$.jsonAjax("http://js.40017.cn/cn/public/js/date/date.js?v=2011-11-17");
}
var hotelMoreCity=[{leter:"A",name:['阿坝','安康','安庆','鞍山','安顺','安阳']},{leter:"B",name:['白城','百色','白山','白银','保定','宝鸡','保山','保亭','包头','巴彦淖尔市','巴中','北海','北京','蚌埠','本溪','毕节','滨州','亳州']},{leter:"C",name:['沧州','长白山','长春','常德','昌都','长沙','长治','常州','巢湖','潮州','承德','成都','澄迈县','郴州','赤峰','池州','重庆','楚雄','滁州','崇左']},{leter:"D",name:['大理','大连','丹东','儋州','大庆','大同','大兴安岭','达州','德宏','德阳','德州','迪庆','东莞','东营','定安县']},{leter:"E",name:['鄂尔多斯','恩施','鄂州']},{leter:"F",name:['防城港','佛山','抚顺','阜新','阜阳','福州','抚州']},{leter:"G",name:['赣州','甘孜','广安','广元','广州','贵港','桂林','贵阳','甘南']},{leter:"H",name:['海口','海西','邯郸','杭州','汉中','哈尔滨','鹤壁','合肥','鹤岗','黑河','衡水','衡阳','河源','菏泽','贺州','香港','淮安','淮北','怀化','淮南','黄冈','黄山','黄石','呼和浩特','惠州','葫芦岛','呼伦贝尔','湖州']},{leter:"J",name:['佳木斯','吉安','江门','焦作','嘉兴','嘉峪关','揭阳','吉林','济南','晋城','景德镇','荆门','荆州','金华','济宁','晋中','锦州','九江','酒泉','济源']},{leter:"K",name:['开封','喀什','克拉玛依','昆明']},{leter:"L",name:['莱芜','廊坊','兰州','拉萨','乐山','凉山','连云港','聊城','丽江','临汾','陵水','临沂','林芝','丽水','六安','柳州','龙岩','娄底','漯河','洛阳','泸州']},{leter:"M",name:['马鞍山','茂名','眉山','梅州','绵阳','牡丹江']},{leter:"N",name:['南昌','南充','南京','南宁','南平','南通','南阳','那曲','内江','宁波','宁德','怒江']},{leter:"P",name:['盘锦','攀枝花','平顶山','萍乡','莆田','濮阳']},{leter:"Q",name:['黔东南','潜江','黔南','黔西南','青岛','清远','秦皇岛','钦州','琼海','齐齐哈尔','泉州','曲靖','衢州','庆阳']},{leter:"R",name:['日喀则','日照']},{leter:"S",name:['三门峡','三明','三亚','上海','上饶','山南','汕头','汕尾','韶关','绍兴','邵阳','沈阳','深圳','石家庄','十堰','遂宁','松原','随州','宿迁','苏州','宿州','四平']},{leter:"T",name:['泰安','太原','台州','泰州','唐山','天津','天水','铁岭','通化','通辽','铜陵','吐鲁番']},{leter:"W",name:['万宁','潍坊','威海','渭南','文昌','温州','乌海','武汉','芜湖','乌鲁木齐','无锡','五指山','吴忠','梧州']},{leter:"X",name:['厦门','西安','襄樊','湘潭','湘西','咸宁','仙桃','咸阳','孝感','锡林郭勒盟','邢台','西宁','新乡','信阳','新余','忻州','西双版纳','宣城','许昌','徐州']},{leter:"Y",name:['雅安','延安','延边','盐城','阳江','阳泉','扬州','烟台','宜宾','宜昌','宜春','伊犁','银川','营口','鹰潭','益阳','永州','岳阳','玉林','榆林','运城','玉树','玉溪']},{leter:"Z",name:['枣庄','张家界','张家口','张掖','漳州','湛江','肇庆','郑州','镇江','中山','周口','舟山','珠海','驻马店','株洲','淄博','遵义']}];
var hotelHotCity=['北京','上海','广州','深圳','杭州','南京','成都','武汉','青岛','大连','苏州','三亚','厦门','海口','西安','长沙','昆明','沈阳','香港','澳门'];
	hotelCitys[0]=new Array('北京','beijing','BJ','53');hotelCitys[1]=new Array('上海','shanghai','SH','321');hotelCitys[2]=new Array('杭州','hangzhou','hz','383');hotelCitys[3]=new Array('广州','guangzhou','gz','80');hotelCitys[4]=new Array('苏州','suzhou','sz','226');hotelCitys[5]=new Array('深圳','shenzhen','sz','91');hotelCitys[6]=new Array('南京','nanjing','nj','224');hotelCitys[7]=new Array('成都','chengdu','cd','324');hotelCitys[8]=new Array('西安','xian','xa','317');hotelCitys[9]=new Array('武汉','wuhan','wh','192');hotelCitys[10]=new Array('青岛','qingdao','QD','292');hotelCitys[11]=new Array('厦门','xiamen','xm','61');hotelCitys[12]=new Array('三亚','sanya','sy','133');hotelCitys[13]=new Array('天津','tianjin','TJ','343');hotelCitys[14]=new Array('长沙','changsha','cs','199');hotelCitys[15]=new Array('重庆','chongqing','cq','394');hotelCitys[16]=new Array('宁波','ningbo','nb','388');hotelCitys[17]=new Array('无锡','wuxi','wx','229');hotelCitys[18]=new Array('丽江','lijiang','lj','374');hotelCitys[19]=new Array('大连','dalian','DL','248');hotelCitys[20]=new Array('济南','jinan','JN','287');hotelCitys[21]=new Array('郑州','zhengzhou','ZZ','163');hotelCitys[22]=new Array('昆明','kunming','km','373');hotelCitys[23]=new Array('香港','hongkong','HK','395');hotelCitys[24]=new Array('沈阳','shenyang','SY','256');hotelCitys[25]=new Array('哈尔滨','haerbin','HEB','170');hotelCitys[26]=new Array('珠海','zhuhai','zh','97');hotelCitys[27]=new Array('东莞','dongguan','dg','78');hotelCitys[28]=new Array('桂林','guilin','gl','102');hotelCitys[29]=new Array('合肥','hefei','hf','42');hotelCitys[30]=new Array('常州','changzhou','cz','221');hotelCitys[31]=new Array('三亚湾','sanyawan','syw','133#5150');hotelCitys[32]=new Array('嘉兴','jiaxing','jx','385');hotelCitys[33]=new Array('黄山','huangshan','hs','45');hotelCitys[34]=new Array('扬州','yangzhou','yz','232');hotelCitys[35]=new Array('金华','jinhua','jh','386');hotelCitys[36]=new Array('南昌','nanchang','nc','239');hotelCitys[37]=new Array('烟台','yantai','YT','297');hotelCitys[38]=new Array('石家庄','shijiazhuang','SJZ','146');hotelCitys[39]=new Array('温州','wenzhou','wz','391');hotelCitys[40]=new Array('南宁','nanning','nn','108');hotelCitys[41]=new Array('太原','taiyuan','TY','307');hotelCitys[42]=new Array('福州','fuzhou','fz','54');hotelCitys[43]=new Array('海口','haikou','hk','127');hotelCitys[44]=new Array('佛山','foshan','fs','79');hotelCitys[45]=new Array('长春','changchun','cc','214');hotelCitys[46]=new Array('昆山市','kunshanshi','ks','226#510');hotelCitys[47]=new Array('舟山','zhoushan','zs','392');hotelCitys[48]=new Array('大东海','dadonghai','ddh','133#5135');hotelCitys[49]=new Array('贵阳','guiyang','gy','114');hotelCitys[50]=new Array('威海','weihai','WH','295');hotelCitys[51]=new Array('呼和浩特','huhehaote','HHHT','264');hotelCitys[52]=new Array('南通','nantong','nt','225');hotelCitys[53]=new Array('绍兴','shaoxing','sx','389');hotelCitys[54]=new Array('洛阳','luoyang','LY','155');hotelCitys[55]=new Array('徐州','xuzhou','xz','230');hotelCitys[56]=new Array('乌鲁木齐','wulumuqi','wlmq','364');hotelCitys[57]=new Array('泰安','taian','ta','294');hotelCitys[58]=new Array('泉州','quanzhou','qz','59');hotelCitys[59]=new Array('银川','yinchuan','yc','274');hotelCitys[60]=new Array('乐山','leshan','ls','330');hotelCitys[61]=new Array('九江','jiujiang','jj','238');hotelCitys[62]=new Array('顺义','shunyi','sy','53#651');hotelCitys[63]=new Array('张家界','zhangjiajie','zjj','210');hotelCitys[64]=new Array('晋中','jinzhong','jz','303');hotelCitys[65]=new Array('中山','zhongshan','zs','96');hotelCitys[66]=new Array('义乌市','yiwushi','yw','386#575');hotelCitys[67]=new Array('阳朔县','yangshuoxian','ysx','102#928');hotelCitys[68]=new Array('连云港','lianyungang','lyg','223');hotelCitys[69]=new Array('日照','rizhao','RZ','293');hotelCitys[70]=new Array('淮安','huaian','ha','222');hotelCitys[71]=new Array('惠州','huizhou','hz','82');hotelCitys[72]=new Array('湖州','huzhou','hz','384');hotelCitys[73]=new Array('秦皇岛','qinhuangdao','qhd','145');hotelCitys[74]=new Array('宜昌','yichang','yc','197');hotelCitys[75]=new Array('泰山','taishan','ts','294#4037');hotelCitys[76]=new Array('平遥县','pingyaoxian','PY','303#2098');hotelCitys[77]=new Array('西宁','xining','xn','281');hotelCitys[78]=new Array('济宁','jining','jn','288');hotelCitys[79]=new Array('拉萨','lasa','ls','346');hotelCitys[80]=new Array('兰州','lanzhou','lz','69');hotelCitys[81]=new Array('大理','dali','dl','369');hotelCitys[82]=new Array('溧阳市','liyangshi','ly','221#488');hotelCitys[83]=new Array('桐乡市','tongxiangshi','tx','385#568');hotelCitys[84]=new Array('芜湖','wuhu','wh','50');hotelCitys[85]=new Array('潍坊','weifang','wf','296');hotelCitys[86]=new Array('镇江','zhenjiang','zj','233');hotelCitys[87]=new Array('台州','taizhou','tz','390');hotelCitys[88]=new Array('澳门','macau','mc','396');hotelCitys[89]=new Array('淄博','zibo','zb','299');hotelCitys[90]=new Array('江门','jiangmen','jm','83');hotelCitys[91]=new Array('北海','beihai','bh','99');hotelCitys[92]=new Array('包头','baotou','BT','261');hotelCitys[93]=new Array('花都','huaduqu','hdq','80#3671');hotelCitys[94]=new Array('峨眉山','emeishan','ems','330#2339');hotelCitys[95]=new Array('常熟市','changshushi','cs','226#509');hotelCitys[96]=new Array('上饶','shangrao','sr','241');hotelCitys[97]=new Array('临沂','linyi','LY','291');hotelCitys[98]=new Array('泰州','taizhoushi','tz','228');hotelCitys[99]=new Array('长白山','changbaishanbaohuqu','cbsbhq','4569');hotelCitys[100]=new Array('吴江市','wujiangshi','wj','226#513');hotelCitys[101]=new Array('大同','datong','DT','301');hotelCitys[102]=new Array('庐山','lushan','ls','238#4464');hotelCitys[103]=new Array('湘西','xiangxi','xx','206');hotelCitys[104]=new Array('吉安','jian','ja','236');hotelCitys[105]=new Array('千岛湖','qiandaohu','qdh','383#553');hotelCitys[106]=new Array('池州','chizhou','cz','39');hotelCitys[107]=new Array('唐山','tangshan','TS','149');hotelCitys[108]=new Array('保定','baoding','bd','139');hotelCitys[109]=new Array('呼伦贝尔','hulunbeier','hlbr','265');hotelCitys[110]=new Array('凤凰县','fenghuangxian','fh','206#1575');hotelCitys[111]=new Array('漳州','zhangzhou','zz','62');hotelCitys[112]=new Array('吉林','jilin','JL','215');hotelCitys[113]=new Array('临安市','linanshi','la','383#557');hotelCitys[114]=new Array('株洲','zhuzhou','zz','211');hotelCitys[115]=new Array('盐城','yancheng','yc','231');hotelCitys[116]=new Array('亚龙湾','yalongwan','ylw','133#5134');hotelCitys[117]=new Array('襄阳','xiangyang','xy','195');hotelCitys[118]=new Array('安庆','anqing','aq','36');hotelCitys[119]=new Array('肇庆','zhaoqing','zq','95');hotelCitys[120]=new Array('太仓市','taicangshi','tc','226#512');hotelCitys[121]=new Array('东阳市','dongyangshi','dy','386#569');hotelCitys[122]=new Array('曲阜市','qufushi','qf','288#2000');hotelCitys[123]=new Array('双流县','shuangliuxian','sl','324#2293');hotelCitys[124]=new Array('西双版纳','xishuangbanna','xsbn','380');hotelCitys[125]=new Array('酒泉','jiuquan','jq','68');hotelCitys[126]=new Array('蚌埠','bengbu','bb','37');hotelCitys[127]=new Array('承德','chengde','CD','141');hotelCitys[128]=new Array('赣州','ganzhou','gz','235');hotelCitys[129]=new Array('常德','changde','cd','198');hotelCitys[130]=new Array('绵阳','mianyang','my','333');hotelCitys[131]=new Array('丽水','lishui','ls','387');hotelCitys[132]=new Array('张家港市','zhangjiagangshi','zjg','226#514');hotelCitys[133]=new Array('嘉善县','jiashanxian','js','385#565');hotelCitys[134]=new Array('景洪市','jinghongshi','jh','380#2694');hotelCitys[135]=new Array('江阴市','jiangyinshi','jy','229#525');hotelCitys[136]=new Array('咸宁','xianning','xn','194');hotelCitys[137]=new Array('景德镇','jingdezhen','jdz','237');hotelCitys[138]=new Array('开封','kaifeng','KF','154');hotelCitys[139]=new Array('汕头','shantou','st','88');hotelCitys[140]=new Array('郴州','chenzhou','cz','200');hotelCitys[141]=new Array('安吉县','anjixian','aj','384#559');hotelCitys[142]=new Array('慈溪市','cixishi','cx','388#586');hotelCitys[143]=new Array('婺源县','wuyuanxian','wy','241#1737');hotelCitys[144]=new Array('井冈山','jinggangshan','jgs','236#1695');hotelCitys[145]=new Array('宜兴市','yixingshi','yx','229#527');hotelCitys[146]=new Array('湘潭','xiangtan','xt','205');hotelCitys[147]=new Array('丹东','dandong','dd','249');hotelCitys[148]=new Array('湛江','zhanjiang','zj','94');hotelCitys[149]=new Array('厚街镇','houjiezhen','hj','78#4473');hotelCitys[150]=new Array('长安镇','changanzhen','ca','78#4474');hotelCitys[151]=new Array('遵义','zunyi','zy','120');hotelCitys[152]=new Array('营口','yingkou','yk','258');hotelCitys[153]=new Array('衡阳','hengyang','hy','201');hotelCitys[154]=new Array('运城','yuncheng','yc','310');hotelCitys[155]=new Array('满洲里市','manzhoulishi','mzl','265#1856');hotelCitys[156]=new Array('海口市','haikoushi','hk','127#1072');hotelCitys[157]=new Array('延安','yanan','ya','319');hotelCitys[158]=new Array('滨州','binzhou','bz','283');hotelCitys[159]=new Array('岳阳','yueyang','yy','209');hotelCitys[160]=new Array('廊坊','langfang','lf','144');hotelCitys[161]=new Array('牡丹江','mudanjiang','MDJ','175');hotelCitys[162]=new Array('南平','nanping','np','56');hotelCitys[163]=new Array('马鞍山','maanshan','mas','47');hotelCitys[164]=new Array('敦煌市','dunhuangshi','dh','68#745');hotelCitys[165]=new Array('虎门镇','humenzhen','hmz','78#4472');hotelCitys[166]=new Array('武夷山市','wuyishanshi','wys','56#677');hotelCitys[167]=new Array('海宁市','hainingshi','hn','385#563');hotelCitys[168]=new Array('韶关','shaoguan','sg','90');hotelCitys[169]=new Array('琼海','qionghai','qh','131');hotelCitys[170]=new Array('菏泽','heze','hz','286');hotelCitys[171]=new Array('都江堰市','dujiangyanshi','djy','324#2289');hotelCitys[172]=new Array('琼海市','qionghaishi','qh','131#1076');hotelCitys[173]=new Array('东营','dongying','dy','285');hotelCitys[174]=new Array('咸阳','xianyang','xy','318');hotelCitys[175]=new Array('安阳','anyang','ay','150');hotelCitys[176]=new Array('晋江市','jinjiangshi','jj','59#694');hotelCitys[177]=new Array('南靖县','nanjingxian','nj','62#715');hotelCitys[178]=new Array('宁海县','ninghaixian','nh','388#589');hotelCitys[179]=new Array('从化市','conghua','ch','80#4467');hotelCitys[180]=new Array('乐清市','yueqingshi','lq','391#607');hotelCitys[181]=new Array('开平市','kaipingshi','kp','83#824');hotelCitys[182]=new Array('衢州','quzhou','qz','393');hotelCitys[183]=new Array('莆田','putian','pt','58');hotelCitys[184]=new Array('延边','yanbian','YB','220');hotelCitys[185]=new Array('德阳','deyang','dy','326');hotelCitys[186]=new Array('聊城','liaocheng','lc','290');hotelCitys[187]=new Array('邯郸','handan','hd','142');hotelCitys[188]=new Array('万宁','wanning','wn','135');hotelCitys[189]=new Array('黔南','qiannan','qn','117');hotelCitys[190]=new Array('荆州','jingzhou','jz','186');hotelCitys[191]=new Array('十堰','shiyan','sy','189');hotelCitys[192]=new Array('焦作','jiaozuo','jz','153');hotelCitys[193]=new Array('大庆','daqing','dq','168');hotelCitys[194]=new Array('江都市','jiangdushi','jd','232#546');hotelCitys[195]=new Array('石狮市','shishishi','ss','59#697');hotelCitys[196]=new Array('绍兴县','shaoxingxian','sx','389#594');hotelCitys[197]=new Array('临海市','linhaishi','lh','390#598');hotelCitys[198]=new Array('象山县','xiangshanxian','xs','388#590');hotelCitys[199]=new Array('怀柔','huairou','hr','53#652');hotelCitys[200]=new Array('富阳市','fuyangshi','fy','383#554');hotelCitys[201]=new Array('青阳县','qingyangxian','qy','39#425');hotelCitys[202]=new Array('黟县','yixian','yx','45#452');hotelCitys[203]=new Array('迪庆','diqing','dq','371');hotelCitys[204]=new Array('张家口','zhangjiakou','zjk','149');hotelCitys[205]=new Array('阜阳','fuyang','fy','41');hotelCitys[206]=new Array('晋城','jincheng','jc','302');hotelCitys[207]=new Array('攀枝花','panzhihua','pzh','336');hotelCitys[208]=new Array('宿迁','suqian','sq','227');hotelCitys[209]=new Array('蓬莱市','penglaishi','PL','297#2058');hotelCitys[210]=new Array('延吉市','yanjishi','yj','220#1660');hotelCitys[211]=new Array('腾冲县','tengchongxian','tc','367#2596');hotelCitys[212]=new Array('香格里拉县','xianggelilaxian','xgll','371#2626');hotelCitys[213]=new Array('益阳','yiyang','yy','207');hotelCitys[214]=new Array('雅安','yaan','ya','338');hotelCitys[215]=new Array('甘孜','ganzi','gz','327');hotelCitys[216]=new Array('榆林','yulinshi','yl','320');hotelCitys[217]=new Array('阿坝','aba','ab','322');hotelCitys[218]=new Array('宝鸡','baoji','bj','312');hotelCitys[219]=new Array('德州','dezhou','dz','284');hotelCitys[220]=new Array('六安','liuan','la','46');hotelCitys[221]=new Array('宁德','ningde','nd','57');hotelCitys[222]=new Array('宣城','xuancheng','xc','51');hotelCitys[223]=new Array('梅州','meizhou','mz','86');hotelCitys[224]=new Array('清远','qingyuan','qy','87');hotelCitys[225]=new Array('河源','heyuan','hy','81');hotelCitys[226]=new Array('濮阳','puyang','py','167');hotelCitys[227]=new Array('保山','baoshan','bs','367');hotelCitys[228]=new Array('建德市','jiandeshi','jd','383#556');hotelCitys[229]=new Array('德清县','deqingxian','dq','384#561');hotelCitys[230]=new Array('桐庐县','tongluxian','tl','383#558');hotelCitys[231]=new Array('仪征市','yizhengshi','yz','232#548');hotelCitys[232]=new Array('密云县','miyunxian','my','53#484');hotelCitys[233]=new Array('奉化市','fenghuashi','fh','388#587');hotelCitys[234]=new Array('上虞市','shangyushi','sy','389#592');hotelCitys[235]=new Array('常平镇','changpingzhen','cp','78#4476');hotelCitys[236]=new Array('新乡','xinxiang','xx','160');hotelCitys[237]=new Array('黔东南','qiandongnan','qdn','116');hotelCitys[238]=new Array('玉林','yulin','yl','111');hotelCitys[239]=new Array('莱芜','laiwu','lw','289');hotelCitys[240]=new Array('遂宁','shuining','sn','337');hotelCitys[241]=new Array('凉山','liangshan','ls','331');hotelCitys[242]=new Array('锦州','jinzhou','jz','253');hotelCitys[243]=new Array('鄂尔多斯','eerduosi','erds','263');hotelCitys[244]=new Array('九寨沟','jiuzhaigou','jzg','322#2273');hotelCitys[245]=new Array('中卫','zhongwei','zw','3105');hotelCitys[246]=new Array('荔波县','liboxian','lb','117#1029');hotelCitys[247]=new Array('即墨市','jimoshi','jm','292#2026');hotelCitys[248]=new Array('胶州市','jiaozhoushi','jz','292#2028');hotelCitys[249]=new Array('万宁市','wanningshi','wn','135#1080');hotelCitys[250]=new Array('凯里市','kailishi','kl','116#1012');hotelCitys[251]=new Array('赤壁市','chibishi','cb','194#1483');hotelCitys[252]=new Array('登封市','dengfengshi','df','163#1321');hotelCitys[253]=new Array('鹰潭','yingtan','yt','244');hotelCitys[254]=new Array('通化','tonghua','th','219');hotelCitys[255]=new Array('长治','changzhi','cz','300');hotelCitys[256]=new Array('枣庄','zaozhuang','zz','298');hotelCitys[257]=new Array('柳州','liuzhou','lz','107');hotelCitys[258]=new Array('沧州','cangzhou','cz','140');hotelCitys[259]=new Array('龙岩','longyan','ly','55');hotelCitys[260]=new Array('滁州','chuzhou','cz','40');hotelCitys[261]=new Array('石岐','shiqi','sq','96#4528');hotelCitys[262]=new Array('巢湖','chaohu','ch','38');hotelCitys[263]=new Array('三明','sanming','sm','60');hotelCitys[264]=new Array('嘉峪关','jiayuguan','jyg','66');hotelCitys[265]=new Array('揭阳','jieyang','jy','84');hotelCitys[266]=new Array('茂名','maoming','mm','85');hotelCitys[267]=new Array('潮州','chaozhou','cz','77');hotelCitys[268]=new Array('阳江','yangjiang','yj','92');hotelCitys[269]=new Array('漯河','luohe','lh','166');hotelCitys[270]=new Array('随州','suizhou','sz','190');hotelCitys[271]=new Array('临汾','linfen','lf','304');hotelCitys[272]=new Array('南充','nanchong','nc','334');hotelCitys[273]=new Array('汉中','hanzhong','hz','313');hotelCitys[274]=new Array('怀化','huaihua','hh','202');hotelCitys[275]=new Array('娄底','loudi','ld','203');hotelCitys[276]=new Array('鞍山','anshan','as','245');hotelCitys[277]=new Array('余姚市','yuyaoshi','yy','388#591');hotelCitys[278]=new Array('新昌县','xinchangxian','xc','389#595');hotelCitys[279]=new Array('诸暨市','zhujishi','zj','389#596');hotelCitys[280]=new Array('武义县','wuyixian','wy','386#574');hotelCitys[281]=new Array('永康市','yongkangshi','yk','386#576');hotelCitys[282]=new Array('瑞安市','ruianshi','ra','391#609');hotelCitys[283]=new Array('嘉峪关市','jiayuguanshi','jyg','66#740');hotelCitys[284]=new Array('延庆县','yanqingxian','yq','53#485');hotelCitys[285]=new Array('海安县','haianxian','ha','225#502');hotelCitys[286]=new Array('海盐县','haiyanxian','hy','385#564');hotelCitys[287]=new Array('句容市','jurongshi','jr','233#550');hotelCitys[288]=new Array('玉溪','yuxi','yx','381');hotelCitys[289]=new Array('西昌市','xichangshi','xc','331#2358');hotelCitys[290]=new Array('龙胜各族自治县','longshenggezuzizhixian','lsgzzz','102#924');hotelCitys[291]=new Array('介休市','jiexiushi','jx','303#2095');hotelCitys[292]=new Array('荣成市','rongchengshi','rc','295#2040');hotelCitys[293]=new Array('寿光市','shouguangshi','sg','296#2050');hotelCitys[294]=new Array('龙口市','longkoushi','lk','297#2057');hotelCitys[295]=new Array('大石桥市','dashiqiaoshi','dsq','258#1808');hotelCitys[296]=new Array('锡林浩特市','xilinhaoteshi','xlht','269#1890');hotelCitys[297]=new Array('玉山县','yushanxian','ys','241#1735');hotelCitys[298]=new Array('恩施市','enshishi','es','182#1438');hotelCitys[299]=new Array('中卫市','zhongweishi','zw','3105#3604');hotelCitys[300]=new Array('休宁县','xiuningxian','xn','45#450');hotelCitys[301]=new Array('丹阳市','danyangshi','dy','233#549');hotelCitys[302]=new Array('东台市','dongtaishi','dt','231#537');hotelCitys[303]=new Array('盱眙县','xuyixian','xy','222#493');hotelCitys[304]=new Array('金坛市','jintanshi','jt','221#487');hotelCitys[305]=new Array('靖江市','jingjiangshi','jj','228#521');hotelCitys[306]=new Array('龙门县','longmenxian','lm','82#820');hotelCitys[307]=new Array('平湖市','pinghushi','ph','385#567');hotelCitys[308]=new Array('葫芦岛','huludao','hld','252');hotelCitys[309]=new Array('广元','guangyuan','gy','329');hotelCitys[310]=new Array('锡林郭勒盟','xilinguole','xlgl','269');hotelCitys[311]=new Array('恩施','enshi','es','182');hotelCitys[312]=new Array('荆门','jingmen','jm','185');hotelCitys[313]=new Array('齐齐哈尔','qiqihaer','qqhe','177');hotelCitys[314]=new Array('许昌','xuchang','xc','162');hotelCitys[315]=new Array('南阳','nanyang','ny','156');hotelCitys[316]=new Array('衡水','hengshui','hs','143');hotelCitys[317]=new Array('梧州','wuzhou','wz','110');hotelCitys[318]=new Array('防城港','fangchenggang','fcg','101');hotelCitys[319]=new Array('天水','tianshui','ts','74');hotelCitys[320]=new Array('淮南','huainan','hn','44');hotelCitys[321]=new Array('铜陵','tongling','tl','49');hotelCitys[322]=new Array('大朗镇','dalangzhen','dl','78#4477');hotelCitys[323]=new Array('黄江镇','huangjiangzhen','hj','78#4512');hotelCitys[324]=new Array('亚布力','yabuli','ybl','170#4514');hotelCitys[325]=new Array('三乡镇','sanxiangzhen','sx','96#4525');hotelCitys[326]=new Array('樟木头镇','zhangmutouzhen','zmt','78#4478');hotelCitys[327]=new Array('襄州区（原襄阳区）','xiangzhouqu1','xzq','195#4110');hotelCitys[328]=new Array('亳州','bozhou','bz','52');hotelCitys[329]=new Array('寮步镇','liaobuzhen','lb','78#5812');hotelCitys[330]=new Array('兴隆县','wanningxinglongxian','wnxlx','135#5810');hotelCitys[331]=new Array('崇左','chongzuo','cz','100');hotelCitys[332]=new Array('百色','baise','bs','98');hotelCitys[333]=new Array('安顺','anshun','as','112');hotelCitys[334]=new Array('陵水','lingshui','ls','130');hotelCitys[335]=new Array('文昌','wenchang','wc','136');hotelCitys[336]=new Array('黄石','huangshi','hs','184');hotelCitys[337]=new Array('阳泉','yangquan','yq','309');hotelCitys[338]=new Array('渭南','weinan','wn','316');hotelCitys[339]=new Array('眉山','meishan','ms','332');hotelCitys[340]=new Array('内江','neijiang','nj','335');hotelCitys[341]=new Array('林芝','linzhi','lz','347');hotelCitys[342]=new Array('宜春','yichunshi','yc','243');hotelCitys[343]=new Array('通辽','tongliao','tl','266');hotelCitys[344]=new Array('抚顺','fushun','FS','250');hotelCitys[345]=new Array('白山','baishan','bs','213');hotelCitys[346]=new Array('松原','songyuan','sy','218');hotelCitys[347]=new Array('天台县','tiantaixian','tt','390#601');hotelCitys[348]=new Array('仙居县','xianjuxian','xj','390#603');hotelCitys[349]=new Array('鹤山市','heshanshi','hs','83#822');hotelCitys[350]=new Array('增城市','zengchengshi','zc','80#809');hotelCitys[351]=new Array('惠东县','huidongxian','hd','82#817');hotelCitys[352]=new Array('台山市','taishanshi','ts','83#825');hotelCitys[353]=new Array('福鼎市','fudingshi','fd','57#680');hotelCitys[354]=new Array('东山县','dongshanxian','ds','62#712');hotelCitys[355]=new Array('泰兴市','taixingshi','tx','228#522');hotelCitys[356]=new Array('如东县','rudongxian','rd','225#506');hotelCitys[357]=new Array('东海县','donghaixian','dh','223#494');hotelCitys[358]=new Array('海门市','haimenshi','hm','225#503');hotelCitys[359]=new Array('邳州市','pizhoushi','pz','230#533');hotelCitys[360]=new Array('姜堰市','jiangyanshi','jy','228#520');hotelCitys[361]=new Array('高邮市','gaoyoushi','gy','232#545');hotelCitys[362]=new Array('潜山县','qianshanxian','qs','36#407');hotelCitys[363]=new Array('巴音郭楞','bayinguoleng','bygl','353');hotelCitys[364]=new Array('喀什','kashi','ks','358');hotelCitys[365]=new Array('广元市','guangyuanshi','gy','329#2334');hotelCitys[366]=new Array('江油市','jiangyoushi','jy','333#2371');hotelCitys[367]=new Array('宁蒗彝族自治县','ninglangyizuzizhixian','nlyzzz','374#2652');hotelCitys[368]=new Array('鹤庆县','heqingxian','hq','369#2610');hotelCitys[369]=new Array('林芝县','linzhixian','lz','347#2459');hotelCitys[370]=new Array('库尔勒市','kuerleshi','kel','353#2515');hotelCitys[371]=new Array('琅琊','langya','ly','40#3514');hotelCitys[372]=new Array('慈利县','cilixian','cl','210#1604');hotelCitys[373]=new Array('陵水黎族自治县','lingshuilizuzizhixian','lslzzz','130#1075');hotelCitys[374]=new Array('文昌市','wenchangshi','wc','136#1081');hotelCitys[375]=new Array('抚松县','fusongxian','fs','213#1620');hotelCitys[376]=new Array('青州市','qingzhoushi','qz','296#2049');hotelCitys[377]=new Array('胶南市','jiaonanshi','jn','292#2027');hotelCitys[378]=new Array('华阴市','huayinshi','hy','316#2223');hotelCitys[379]=new Array('兖州市','yanzhoushi','yz','288#2004');hotelCitys[380]=new Array('文登市','wendengshi','wd','295#2043');hotelCitys[381]=new Array('诸城市','zhuchengshi','zc','296#2052');hotelCitys[382]=new Array('长岛县','changdaoxian','cd','297#2053');hotelCitys[383]=new Array('海阳市','haiyangshi','hy','297#2054');hotelCitys[384]=new Array('星子县','xingzixian','xz','238#1714');hotelCitys[385]=new Array('德兴市','dexingshi','dx','241#1727');hotelCitys[386]=new Array('兴义市','xingyishi','xy','118#1041');hotelCitys[387]=new Array('正定县','zhengdingxian','zd','146#1187');hotelCitys[388]=new Array('韶山市','shaoshanshi','ss','205#1570');hotelCitys[389]=new Array('浏阳市','liuyangshi','ly','199#1524');hotelCitys[390]=new Array('随州市','suizhoushi','sz','190#1479');hotelCitys[391]=new Array('绥芬河市','suifenheshi','sfh','175#1405');hotelCitys[392]=new Array('新郑市','xinzhengshi','xz','163#1324');hotelCitys[393]=new Array('迁安市','qiananshi','qa','147#1193');hotelCitys[394]=new Array('济源市','jiyuanshi','jy','152#1240');hotelCitys[395]=new Array('荥阳市','xingyangshi','xy','163#1327');hotelCitys[396]=new Array('泸定县','ludingxian','ld','327#2327');hotelCitys[397]=new Array('阆中市','langzhongshi','lz','334#2383');hotelCitys[398]=new Array('郫县','pixian','px','324#2296');hotelCitys[399]=new Array('楚雄','chuxiong','cx','368');hotelCitys[400]=new Array('德宏','dehong','dh','370');hotelCitys[401]=new Array('泸州','luzhou','lz','342');hotelCitys[402]=new Array('霍山县','huoshanxian','hs','46#454');hotelCitys[403]=new Array('启东市','qidongshi','qd','225#505');hotelCitys[404]=new Array('高淳县','gaochunxian','gc','224#499');hotelCitys[405]=new Array('泾县','jingxian','jx','51#477');hotelCitys[406]=new Array('如皋市','rugaoshi','rg','225#507');hotelCitys[407]=new Array('通州市','tongzhoushi','tz','225#508');hotelCitys[408]=new Array('泰宁县','tainingxian','tn','60#707');hotelCitys[409]=new Array('惠安县','huianxian','ha','59#692');hotelCitys[410]=new Array('惠阳市','huiyangshi','hy','82#818');hotelCitys[411]=new Array('博罗县','boluoxian','bl','82#816');hotelCitys[412]=new Array('遂昌县','suichangxian','sc','387#583');hotelCitys[413]=new Array('永嘉县','yongjiaxian','yj','391#613');hotelCitys[414]=new Array('平阳县','pingyangxian','py','391#608');hotelCitys[415]=new Array('嵊泗县','shengsixian','ss','392#616');hotelCitys[416]=new Array('门头沟','mentougou','mtg','53#647');hotelCitys[417]=new Array('孝感','xiaogan','xg','196');hotelCitys[418]=new Array('盘锦','panjin','pj','255');hotelCitys[419]=new Array('赤峰','chifeng','cf','262');hotelCitys[420]=new Array('巴彦淖尔市','bayanzhuoer','byzr','260');hotelCitys[421]=new Array('巴中','bazhong','bz','323');hotelCitys[422]=new Array('广安','guangan','ga','328');hotelCitys[423]=new Array('鹤岗','hegang','hg','171');hotelCitys[424]=new Array('黑河','heihe','hh','172');hotelCitys[425]=new Array('信阳','xinyang','xy','161');hotelCitys[426]=new Array('驻马店','zhumadian','zmd','165');hotelCitys[427]=new Array('大兴安岭','daxinganling','DXAL','169');hotelCitys[428]=new Array('济源','jiyuan','jy','152');hotelCitys[429]=new Array('黔西南','qianxinan','qxn','118');hotelCitys[430]=new Array('钦州','qinzhou','qz','109');hotelCitys[431]=new Array('贵港','guigang','gg','103');hotelCitys[432]=new Array('河池','hechi','hc','104');hotelCitys[433]=new Array('淮北','huaibei','hb','43');hotelCitys[434]=new Array('宿州','suzhoushi','sz','48');hotelCitys[435]=new Array('兴城','xingcheng','xc','252#1785');hotelCitys[436]=new Array('清溪镇','qingxizhen','qx','78#4479');hotelCitys[437]=new Array('石碣镇','shijiezhen','sj','78#4481');hotelCitys[438]=new Array('古镇镇','guzhenzhen','gz','96#4523');hotelCitys[439]=new Array('小榄镇','xiaolanzhen','xl','96#4524');hotelCitys[440]=new Array('塘厦镇','tangshazhen','ts','78#4480');hotelCitys[441]=new Array('茶山镇','chashanzhen','cs','78#4545');hotelCitys[442]=new Array('沙溪镇','shaxizhen','sx','96#5819');hotelCitys[443]=new Array('甘孜藏族自治州','ganzizangzuzizhizhou','gzzzzz','327#3976');hotelCitys[444]=new Array('贺州','hezhou','hz','105');hotelCitys[445]=new Array('张掖','zhangye','zy','76');hotelCitys[446]=new Array('保亭','baoting','bt','122');hotelCitys[447]=new Array('定安县','dingan','da','125');hotelCitys[448]=new Array('鹤壁','hebi','hb','151');hotelCitys[449]=new Array('邢台','xingtai','xt','148');hotelCitys[450]=new Array('五指山','wuzhishan','wzs','137');hotelCitys[451]=new Array('儋州','danzhou','dz','138');hotelCitys[452]=new Array('平顶山','pingdingshan','pds','157');hotelCitys[453]=new Array('三门峡','sanmenxia','smx','158');hotelCitys[454]=new Array('黄冈','huanggang','hg','183');hotelCitys[455]=new Array('安康','ankang','ak','311');hotelCitys[456]=new Array('忻州','xinzhou','xz','308');hotelCitys[457]=new Array('吴忠','wuzhong','wz','273');hotelCitys[458]=new Array('海西','haixi','hx','279');hotelCitys[459]=new Array('乌海','wuhai','wh','267');hotelCitys[460]=new Array('乌兰察布市','wulanchabu','wlcb','268');hotelCitys[461]=new Array('新余','xinyu','xy','242');hotelCitys[462]=new Array('本溪','benxi','bx','246');hotelCitys[463]=new Array('萍乡','pingxiang','px','240');hotelCitys[464]=new Array('神农架林区','shennongjia','snj','188');hotelCitys[465]=new Array('邵阳','shaoyang','sy','204');hotelCitys[466]=new Array('永州','yongzhou','yz','208');hotelCitys[467]=new Array('开化县','kaihuaxian','kh','393#619');hotelCitys[468]=new Array('泰顺县','taishunxian','ts','391#610');hotelCitys[469]=new Array('缙云县','jinyunxian','jy','387#585');hotelCitys[470]=new Array('兰溪市','lanxishi','lx','386#571');hotelCitys[471]=new Array('温岭市','wenlingshi','wl','390#602');hotelCitys[472]=new Array('电白县','dianbaixian','db','85#831');hotelCitys[473]=new Array('梅县','meixian','mx','86#839');hotelCitys[474]=new Array('清新县','qingxinxian','qx','87#848');hotelCitys[475]=new Array('阳山县','yangshanxian','ys','87#850');hotelCitys[476]=new Array('福清市','fuqingshi','fq','54#654');hotelCitys[477]=new Array('沙县','shaxian','sx','60#706');hotelCitys[478]=new Array('云霄县','yunxiaoxian','yx','62#717');hotelCitys[479]=new Array('兴化市','xinghuashi','xh','228#524');hotelCitys[480]=new Array('洪泽县','hongzexian','hz','222#489');hotelCitys[481]=new Array('长兴县','changxingxian','cx','384#560');hotelCitys[482]=new Array('扬中市','yangzhongshi','yz','233#551');hotelCitys[483]=new Array('沭阳县','shuyangxian','sy','227#517');hotelCitys[484]=new Array('泗洪县','sihongxian','sh','227#518');hotelCitys[485]=new Array('宁国市','ningguoshi','ng','51#475');hotelCitys[486]=new Array('曲靖','qujing','qj','377');hotelCitys[487]=new Array('肥西县','feixixian','fx','42#442');hotelCitys[488]=new Array('克拉玛依','kelamayi','klmy','359');hotelCitys[489]=new Array('武隆县','wulongxian','wl','394#2733');hotelCitys[490]=new Array('永川市','yongchuanshi','yc','394#2735');hotelCitys[491]=new Array('瑞丽市','ruilishi','rl','370#2622');hotelCitys[492]=new Array('澄江县','chengjiangxian','cj','381#2697');hotelCitys[493]=new Array('大足县','dazuxian','dz','394#2718');hotelCitys[494]=new Array('丰都县','fengduxian','fd','394#2720');hotelCitys[495]=new Array('大英县','dayingxian','dy','337#2391');hotelCitys[496]=new Array('射洪县','shehongxian','sh','337#2393');hotelCitys[497]=new Array('稻城县','daochengxian','dc','327#2313');hotelCitys[498]=new Array('崇州市','chongzhoushi','cz','324#2287');hotelCitys[499]=new Array('彭州市','pengzhoushi','pz','324#2291');hotelCitys[500]=new Array('静海县','jinghaixian','jh','343#2426');hotelCitys[501]=new Array('漠河县','mohexian','mh','169#1364');hotelCitys[502]=new Array('尚志市','shangzhishi','sz','170#1373');hotelCitys[503]=new Array('林州市','linzhoushi','lz','150#1234');hotelCitys[504]=new Array('宁乡县','ningxiangxian','nx','199#1522');hotelCitys[505]=new Array('资兴市','zixingshi','zx','200#1534');hotelCitys[506]=new Array('吉首市','jishoushi','js','206#1578');hotelCitys[507]=new Array('邯郸县','handanxian','hd','142#1138');hotelCitys[508]=new Array('泊头市','botoushi','bt','140#1107');hotelCitys[509]=new Array('涞水县','laishuixian','ls','139#1103');hotelCitys[510]=new Array('都匀市','duyunshi','dy','117#1024');hotelCitys[511]=new Array('保亭黎族苗族自治县','baotinglizumiaozuzizhixian','btlzmzzz','122#1067');hotelCitys[512]=new Array('定安县','dinganxian','da','125');hotelCitys[513]=new Array('五指山市','wuzhishanshi','wzs','137#1082');hotelCitys[514]=new Array('儋州市','danzhoushi','dz','138#1083');hotelCitys[515]=new Array('东兴市','dongxingshi','dx','101#915');hotelCitys[516]=new Array('兴安县','xinganxian','xa','102#927');hotelCitys[517]=new Array('乳源瑶族自治县','ruyuanyaozuzizhixian','ryyzzz','90#864');hotelCitys[518]=new Array('高要市','gaoyaoshi','gy','95#887');hotelCitys[519]=new Array('敦化市','dunhuashi','dh','220#1655');hotelCitys[520]=new Array('海城市','haichengshi','hc','2451#1754');hotelCitys[521]=new Array('上饶县','shangraoxian','sr','241#1732');hotelCitys[522]=new Array('额尔古纳市','eergunashi','eegn','265#1851');hotelCitys[523]=new Array('莱阳市','laiyangshi','ly','297#2055');hotelCitys[524]=new Array('莱州市','laizhoushi','lz','297#2056');hotelCitys[525]=new Array('高密市','gaomishi','gm','296#2047');hotelCitys[526]=new Array('莱西市','laixishi','lx','292#2029');hotelCitys[527]=new Array('沂南县','yinanxian','yn','291#2022');hotelCitys[528]=new Array('阳城县','yangchengxian','yc','302#2092');hotelCitys[529]=new Array('泽州县','zezhouxian','zz','302#2093');hotelCitys[530]=new Array('扶风县','fufengxian','ff','312#2189');hotelCitys[531]=new Array('韩城市','hanchengshi','hc','316#2220');hotelCitys[532]=new Array('高陵县','gaolingxian','gl','317#2227');hotelCitys[533]=new Array('吉县','jixian','jx','304#2113');hotelCitys[534]=new Array('宜川县','yichuanxian2','yc','319#2254');hotelCitys[535]=new Array('繁峙县','fanzhixian','fz','308#2148');hotelCitys[536]=new Array('五台县','wutaixian','wt','308#2154');hotelCitys[537]=new Array('平定县','pingdingxian','pd','309#2159');hotelCitys[538]=new Array('闻喜县','wenxixian','wx','310#2166');hotelCitys[539]=new Array('永济市','yongjishi','yj','310#2169');hotelCitys[540]=new Array('长治县','changzhixian','cz','300#2069');hotelCitys[541]=new Array('浑源县','hunyuanxian','hy','301#2083');hotelCitys[542]=new Array('高平市','gaopingshi','gp','302#2088');hotelCitys[543]=new Array('滕州市','tengzhoushi','tz','298#2063');hotelCitys[544]=new Array('沂水县','yishuixian','ys','291#2023');hotelCitys[545]=new Array('五莲县','wulianxian','wl','293#2033');hotelCitys[546]=new Array('东平县','dongpingxian','dp','294#2035');hotelCitys[547]=new Array('肥城市','feichengshi','fc','294#2036');hotelCitys[548]=new Array('郓城县','yunchengxian','yc','286#1989');hotelCitys[549]=new Array('济阳县','jiyangxian','jy','287#1992');hotelCitys[550]=new Array('章丘市','zhangqiushi','zq','287#1995');hotelCitys[551]=new Array('茌平县','chipingxian','cp','290#2014');hotelCitys[552]=new Array('汶上县','wenshangxian','ws','288#2005');hotelCitys[553]=new Array('平度市','pingdushi','pd','292#2030');hotelCitys[554]=new Array('乳山市','rushanshi','rs','295#2041');hotelCitys[555]=new Array('栖霞市','qixiashi','xx','297#2059');hotelCitys[556]=new Array('临河市','linheshi','lh','260#1815');hotelCitys[557]=new Array('赤峰市','chifengshi','cf','262#1829');hotelCitys[558]=new Array('克什克腾旗','keshenketengqi','ksktq','262#1831');hotelCitys[559]=new Array('准格尔旗','zhungeerqi','zgeq','263#1842');hotelCitys[560]=new Array('兴城市','xingchengshi','xc','252#1785');hotelCitys[561]=new Array('瓦房店市','wafangdianshi','wfd','248#1769');hotelCitys[562]=new Array('东港市','donggangshi','dg','249#1772');hotelCitys[563]=new Array('广饶县','guangraoxian','gr','285#1979');hotelCitys[564]=new Array('垦利县','kenlixian','kl','285#1980');hotelCitys[565]=new Array('无棣县','wudixian','wl','283#1963');hotelCitys[566]=new Array('湟中县','huangzhongxian','hz','281#1953');hotelCitys[567]=new Array('贵德县','guidexian','gd','278#1937');hotelCitys[568]=new Array('德令哈市','delinghashi','dlh','279#1941');hotelCitys[569]=new Array('格尔木市','geermushi','gem','279#1943');hotelCitys[570]=new Array('凉城县','liangchengxian','lc','268#1877');hotelCitys[571]=new Array('兴和县','xinghexian','xh','268#1880');hotelCitys[572]=new Array('丰城市','fengchengshi','fc','243#1740');hotelCitys[573]=new Array('贵溪市','guixishi','gx','244#1750');hotelCitys[574]=new Array('广丰县','guangfengxian','gf','241#1728');hotelCitys[575]=new Array('永修县','yongxiuxian','yx','238#1716');hotelCitys[576]=new Array('株洲县','zhuzhouxian','zz','211#1610');hotelCitys[577]=new Array('九台市','jiutaishi','jt','214#1626');hotelCitys[578]=new Array('磐石市','panshishi','ps','215#1630');hotelCitys[579]=new Array('前郭县','qianguoxian','qg','218#1646');hotelCitys[580]=new Array('吉安县','jianxian','ja','236#1693');hotelCitys[581]=new Array('安远县','anyuanxian','ay','235#1673');hotelCitys[582]=new Array('会昌县','huichangxian','hc','235#1679');hotelCitys[583]=new Array('南康市','nankangshi','nk','235#1681');hotelCitys[584]=new Array('上犹县','shangyouxian','sy','235#1685');hotelCitys[585]=new Array('四会市','sihuishi','sh','95#890');hotelCitys[586]=new Array('新丰县','xinfengxian','xf','98#868');hotelCitys[587]=new Array('靖西县','jingxixian','jx','98#896');hotelCitys[588]=new Array('临桂县','linguixian','lg','102#922');hotelCitys[589]=new Array('灵川县','lingchuanxian','lc','102#923');hotelCitys[590]=new Array('雷山县','leishanxian','ls','116#1013');hotelCitys[591]=new Array('武鸣县','wumingxian','wm','108#968');hotelCitys[592]=new Array('资源县','ziyuanxian','zy','102#930');hotelCitys[593]=new Array('平南县','pingnanxian1','pn','103#933');hotelCitys[594]=new Array('巴马瑶族自治县','bamayaozuzizhixian','bmyzzz','104#934');hotelCitys[595]=new Array('南丹县','nandanxian','nd','104#942');hotelCitys[596]=new Array('唐县','tangxian','tx','139#1098');hotelCitys[597]=new Array('雄县','xiongxian','xx','139#1100');hotelCitys[598]=new Array('独山县','dushanxian','ds','117#1025');hotelCitys[599]=new Array('赤水市','chishuishi','cs','120#1053');hotelCitys[600]=new Array('仁怀市','renhuaishi','rh','120#1056');hotelCitys[601]=new Array('遵义县','zunyixian','zy','120#1064');hotelCitys[602]=new Array('涞源县','laiyuanxian','ly','139#1104');hotelCitys[603]=new Array('任丘市','renqiushi','rq','140#1117');hotelCitys[604]=new Array('献县','xianxian','xx','140#1120');hotelCitys[605]=new Array('宽城满族自治县','kuanchengmanzuzizhixian','kcmzzz','141#1125');hotelCitys[606]=new Array('武安市','wuanshi','wa','142#1145');hotelCitys[607]=new Array('霸州市','bazhoushi','bz','144#1158');hotelCitys[608]=new Array('香河县','xianghexian','xh','144#1165');hotelCitys[609]=new Array('昌黎县','changlixian','cl','145#1167');hotelCitys[610]=new Array('藁城市','gaochengshi','gc','146#1188');hotelCitys[611]=new Array('乐亭县','letingxian','lt','147#1190');hotelCitys[612]=new Array('湘潭县','xiangtanxian','xt','205#1572');hotelCitys[613]=new Array('麻阳苗族自治县','mayangmiaozuzizhixian','mymzzz','202#1548');hotelCitys[614]=new Array('汝城县','ruchengxian','rc','200#1531');hotelCitys[615]=new Array('永兴县','yongxingxian','yx','200#1533');hotelCitys[616]=new Array('汉寿县','hanshouxian','hs','198#1514');hotelCitys[617]=new Array('枝江市','zhijiangshi','zj','197#1510');hotelCitys[618]=new Array('谷城县','guchengxian1','gc','195#1490');hotelCitys[619]=new Array('汉川市','hanchuanshi','hc','196#1498');hotelCitys[620]=new Array('平山县','pingshanxian','ps','146#1177');hotelCitys[621]=new Array('遵化市','zunhuashi','zh','147#1198');hotelCitys[622]=new Array('汝州市','ruzhoushi','rz','157#1279');hotelCitys[623]=new Array('封丘县','fengqiuxian','fq','160#1298');hotelCitys[624]=new Array('固始县','gushixian','gs','161#1306');hotelCitys[625]=new Array('禹州市','yuzhoushi','yz','162#1319');hotelCitys[626]=new Array('五大连池市','wudalianchishi','wdlc','172#1386');hotelCitys[627]=new Array('海林市','hailinshi','hl','175#1400');hotelCitys[628]=new Array('宁安市','ninganshi','na','175#1404');hotelCitys[629]=new Array('浠水县','xishuixian1','xs','183#1454');hotelCitys[630]=new Array('钟祥市','zhongxiangshi','zx','185#1461');hotelCitys[631]=new Array('荆州市','jingzhoushi','jz','186#1466');hotelCitys[632]=new Array('宾县','binxian','bx','170#1368');hotelCitys[633]=new Array('舞阳县','wuyangxian','wy','166#1349');hotelCitys[634]=new Array('巩义市','gongyishi','gy','163#1322');hotelCitys[635]=new Array('楚雄彝族自治州','chuxiongyizuzizhizhou','cxyzzz','368#3593');hotelCitys[636]=new Array('迪庆藏族自治州','diqingzangzuzizhizhou','dqzzzz','371#3579');hotelCitys[637]=new Array('弥渡县','miduxian','md','369#2612');hotelCitys[638]=new Array('乌鲁木齐县','wulumuqixian','wlmq','364#2566');hotelCitys[639]=new Array('布尔津县','buerjinxian','bej','3114#2569');hotelCitys[640]=new Array('伊宁市','yiningshi','yn','366#2588');hotelCitys[641]=new Array('玉龙纳西族自治县','yulongnaxizuzizhixian','ylnxzz','374#2654');hotelCitys[642]=new Array('泸水县','lushuixian','ls','376#2666');hotelCitys[643]=new Array('石林彝族自治县','shilinyizuzizhixian','slyzzz','373#2646');hotelCitys[644]=new Array('宜良县','yiliangxian','yl','373#2648');hotelCitys[645]=new Array('石屏县','shipingxian','sp','372#2637');hotelCitys[646]=new Array('安宁市','anningshi','an','373#2640');hotelCitys[647]=new Array('乃东县','naidongxian','nd','350#2497');hotelCitys[648]=new Array('长宁县','changningxian1','cn','339#2403');hotelCitys[649]=new Array('蓟县','jixian1','jx','343#2425');hotelCitys[650]=new Array('宁河县','ninghexian','nh','343#2427');hotelCitys[651]=new Array('盐边县','yanbianxian','yb','336#2390');hotelCitys[652]=new Array('蒲江县','chengdupujiangxian','pj','324#2292');hotelCitys[653]=new Array('大邑县','dayixian','dy','324#2288');hotelCitys[654]=new Array('马尔康县','maerkangxian','mek','322#2275');hotelCitys[655]=new Array('平昌县','pingchangxian','pc','323#2284');hotelCitys[656]=new Array('康定县','kangdingxian','kd','327#2319');hotelCitys[657]=new Array('丹巴县','danbaxian','db','327#2312');hotelCitys[658]=new Array('邛崃市','qionglaishi','ql','324#2295');hotelCitys[659]=new Array('宝兴县','baoxingxian','bx','338#2395');hotelCitys[660]=new Array('天全县','tianquanxian','tq','338#2400');hotelCitys[661]=new Array('隆昌县','longchangxian','lc','335#2384');hotelCitys[662]=new Array('彭山县','pengshanxian','ps','332#2366');hotelCitys[663]=new Array('北川县','beichuanxian','bc','333#2370');hotelCitys[664]=new Array('盐源县','yanyuanxian','yy','331#2360');hotelCitys[665]=new Array('合川市','hechuanshi','hc','394#2722');hotelCitys[666]=new Array('江津市','jiangjinshi','jj','394#2723');hotelCitys[667]=new Array('勐海县','menghaixian','mh','380#2695');hotelCitys[668]=new Array('定海','dinghai','dh','392#3121');hotelCitys[669]=new Array('和县','hexian','hx','38#420');hotelCitys[670]=new Array('庐江县','lujiangxian','lj','38#421');hotelCitys[671]=new Array('岳西县','yuexixian','yx','36#412');hotelCitys[672]=new Array('吐鲁番','tulufan','tlf','363');hotelCitys[673]=new Array('昌吉','changji','cj','355');hotelCitys[674]=new Array('伊犁','yili','yl','366');hotelCitys[675]=new Array('怒江','nujiang','nj','376');hotelCitys[676]=new Array('红河','honghe','hh','372');hotelCitys[677]=new Array('祁门县','qimenxian','qm','45#449');hotelCitys[678]=new Array('定远县','dingyuanxian','dy','40#428');hotelCitys[679]=new Array('全椒县','quanjiaoxian','qj','40#432');hotelCitys[680]=new Array('界首市','jieshoushi','js','41#436');hotelCitys[681]=new Array('太和县','taihexian','th','41#438');hotelCitys[682]=new Array('繁昌县','fanchangxian','fc','50#468');hotelCitys[683]=new Array('南陵县','nanlingxian','nl','50#469');hotelCitys[684]=new Array('广德县','guangdexian','gd','51#472');hotelCitys[685]=new Array('绩溪县','jixixian','jx','51#473');hotelCitys[686]=new Array('金寨县','jinzhaixian','jz','46#455');hotelCitys[687]=new Array('当涂县','dangtuxian','dt','47#459');hotelCitys[688]=new Array('歙县','shexian','sx','45#451');hotelCitys[689]=new Array('霍邱县','huoqiuxian','hq','46#453');hotelCitys[690]=new Array('宝应县','baoyingxian','by','232#544');hotelCitys[691]=new Array('新沂市','xinyishi','xy','230#531');hotelCitys[692]=new Array('睢宁县','suiningxian','sn','230#534');hotelCitys[693]=new Array('大丰市','dafengshi','df','231#536');hotelCitys[694]=new Array('金湖县','jinhuxian','jh','222#491');hotelCitys[695]=new Array('涟水县','lianshuixian','ls','222#492');hotelCitys[696]=new Array('灌云县','guanyunxian','gy','223#497');hotelCitys[697]=new Array('宿豫县','suyuxian','sy','227#516');hotelCitys[698]=new Array('溧水县','lishuixian','ls','224#501');hotelCitys[699]=new Array('龙海市','longhaishi','lh','62#714');hotelCitys[700]=new Array('临泽县','linzexian','lz','76#797');hotelCitys[701]=new Array('潮安县','chaoanxian','ca','77#802');hotelCitys[702]=new Array('漳浦县','zhangpuxian','zp','62#718');hotelCitys[703]=new Array('永安市','yonganshi','ya','60#708');hotelCitys[704]=new Array('德化县','dehuaxian','dh','59#691');hotelCitys[705]=new Array('连江县','lianjiangxian','lj','54#656');hotelCitys[706]=new Array('长汀县','changtingxian','ct','55#662');hotelCitys[707]=new Array('连城县','lianchengxian','lc','55#663');hotelCitys[708]=new Array('邵武市','shaowushi','sw','56#674');hotelCitys[709]=new Array('长乐市','changleshi','cl','54#653');hotelCitys[710]=new Array('南澳县','nanaoxian','na','88#854');hotelCitys[711]=new Array('仁化县','renhuaxian','rh','90#863');hotelCitys[712]=new Array('揭西县','jiexixian','jx','84#828');hotelCitys[713]=new Array('阳春市','yangchunshi','yc','92#870');hotelCitys[714]=new Array('阳东县','yangdongxian','yd','92#871');hotelCitys[715]=new Array('新兴县','xinxingxian','xx','93#875');hotelCitys[716]=new Array('吴川市','wuchuanshi','wc','94#882');hotelCitys[717]=new Array('徐闻县','xuwenxian','xw','94#883');hotelCitys[718]=new Array('德庆县','deqingxian1','dq','95#885');hotelCitys[719]=new Array('封开县','fengkaixian','fk','95#886');hotelCitys[720]=new Array('连平县','lianpingxian','lp','81#813');hotelCitys[721]=new Array('紫金县','zijinxian','zj','81#815');hotelCitys[722]=new Array('五华县','wuhuaxian','wh','86#842');hotelCitys[723]=new Array('佛冈县','fogangxian','fg','87#844');hotelCitys[724]=new Array('恩平市','enpingshi','ep','83#821');hotelCitys[725]=new Array('嵊州市','shengzhoushi','sz','389#597');hotelCitys[726]=new Array('苍南县','cangnanxian','cn','391#605');hotelCitys[727]=new Array('洞头县','dongtouxian','dt','391#606');hotelCitys[728]=new Array('三门县','sanmenxian','sm','390#599');hotelCitys[729]=new Array('浦江县','jinhuapujiangxian','pj','386#573');hotelCitys[730]=new Array('景宁畲族自治县','jingningshezuzizhixian','jnszzz','387#577');hotelCitys[731]=new Array('龙泉市','longquanshi','lq','387#579');hotelCitys[732]=new Array('青田县','qingtianxian','qt','387#580');hotelCitys[733]=new Array('松阳县','songyangxian','sy','387#582');hotelCitys[734]=new Array('岱山县','daishanxian','ds','392#615');hotelCitys[735]=new Array('龙游县','longyouxian','ly','393#620');hotelCitys[736]=new Array('仙桃','xiantao','xt','193');hotelCitys[737]=new Array('抚州','fuzhoushi','fz','234');hotelCitys[738]=new Array('朝阳','chaoyang','cy','247');hotelCitys[739]=new Array('铁岭','tieling','tl','257');hotelCitys[740]=new Array('辽阳','liaoyang','ly','254');hotelCitys[741]=new Array('海南藏族','hainan','hn','278');hotelCitys[742]=new Array('吕梁','lvliang','ll','305');hotelCitys[743]=new Array('朔州','shuozhou','sz','306');hotelCitys[744]=new Array('商洛','shangluo','sl','314');hotelCitys[745]=new Array('铜川','tongchuan','tc','315');hotelCitys[746]=new Array('达州','dazhou','dz','325');hotelCitys[747]=new Array('日喀则','rikaze','rkz','349');hotelCitys[748]=new Array('山南','shannan','sn','350');hotelCitys[749]=new Array('阿克苏','akesu','aks','351');hotelCitys[750]=new Array('宜宾','yibin','yb','339');hotelCitys[751]=new Array('资阳','ziyang','zy','340');hotelCitys[752]=new Array('自贡','zigong','zg','341');hotelCitys[753]=new Array('潜江','qianjiang','qj','187');hotelCitys[754]=new Array('鸡西','jixi','jx','173');hotelCitys[755]=new Array('佳木斯','jiamusi','jms','174');hotelCitys[756]=new Array('绥化','shuihua','sh','179');hotelCitys[757]=new Array('鄂州','ezhou','ez','181');hotelCitys[758]=new Array('商丘','shangqiu','sq','159');hotelCitys[759]=new Array('周口','zhoukou','zk','164');hotelCitys[760]=new Array('铜仁','tongren','tr','119');hotelCitys[761]=new Array('毕节','bijie','bj','113');hotelCitys[762]=new Array('六盘水','liupanshui','lps','115');hotelCitys[763]=new Array('武威','wuwei','ww','75');hotelCitys[764]=new Array('汕尾','shanwei','sw','89');hotelCitys[765]=new Array('来宾','laibin','lb','106');hotelCitys[766]=new Array('云浮','yunfu','yf','93');hotelCitys[767]=new Array('白银','baiyin','by','63');hotelCitys[768]=new Array('大兴安岭地区(加格达奇)','daxinganlingdiqu(jiagedaqi)','DXAL','169#3681');hotelCitys[769]=new Array('凉山彝族自治州','liangshanyizuzizhizhou','lsyzzz','331#3982');hotelCitys[770]=new Array('石排镇','shipaizhen','sp','78#5210');hotelCitys[771]=new Array('坦洲镇','tanzhouzhen','tz','96#5211');hotelCitys[772]=new Array('南头镇','nantouzhen','nt','96#4536');hotelCitys[773]=new Array('洪梅镇','hongmeizhen','hm','78#4540');hotelCitys[774]=new Array('桥头镇','qiaotouzhen','qt','78#4542');hotelCitys[775]=new Array('凤岗镇','fenggangzhen','fg','78#4544');hotelCitys[776]=new Array('企石镇','qishizhen','qs','78#5177');hotelCitys[777]=new Array('东坑镇','dongkenzhen','dk','78#5840');hotelCitys[778]=new Array('南朗镇','nanlangzhen','nl','96#5843');hotelCitys[779]=new Array('石龙镇','shilongzhen','sl','78#4482');hotelCitys[780]=new Array('中堂镇','zhongtangzhen','zt','78#4483');hotelCitys[781]=new Array('大岭山镇','dalingshanzhen','dls','78#4475');hotelCitys[782]=new Array('三角镇','sanjiaozhen','sj','96#4526');hotelCitys[783]=new Array('高埗镇','gaobuzhen','gb','78#4511');hotelCitys[784]=new Array('芒市','mangshi','ms','370#4513');hotelCitys[785]=new Array('甘南','gannan','gn','65');hotelCitys[786]=new Array('庆阳','qingyang','qy','73');hotelCitys[787]=new Array('四平','siping','sp','217');
var brandArray = [{name:"如家",id:2},{name:"7天",id:8},{name:"汉庭",id:4},{name:"锦江之星",id:7},{name:"格林豪泰",id:3},{name:"莫泰",id:5},{name:"速8",id:1},{name:"星程",id:29},{name:"布丁",id:69},{name:"尚客优",id:172},{name:"99旅馆",id:174},{name:"南苑E家",id:38},{name:"清沐",id:62},{name:"肯定",id:163},{name:"锐思特",id:47},{name:"宜必思",id:161},{name:"城市便捷",id:128},{name:"禧龙",id:112},{name:"维也纳",id:52},{name:"银座佳驿",id:17},{name:"岭南佳园",id:22},{name:"驿家365",id:165},{name:"今天连锁",id:157},{name:"欣燕都",id:102},{name:"城市客栈",id:21},{name:"城市之家",id:34},{name:"万好万家",id:37},{name:"云上四季",id:67},{name:"福兰特",id:68},{name:"e家快捷",id:61},{name:"蓝色快舟",id:30},{name:"万里路",id:114},{name:"蓝海",id:111},{name:"凯旋龙",id:179},{name:"吉泰",id:58},{name:"八方快捷",id:56},{name:"星月时尚",id:97},{name:"粤海",id:100},{name:"金广快捷",id:66},{name:"假日之星",id:35},{name:"金一村",id:28},{name:"雅悦",id:6},{name:"飘HOME",id:64},{name:"瑞心",id:124},{name:"精通",id:171},{name:"安逸158",id:270},{name:"约克，约克连锁",id:180},{name:"红茶馆",id:261},{name:"艳阳天",id:176},{name:"E居",id:164},{name:"都市客栈",id:50},{name:"好如家",id:16},{name:"神州商旅",id:31},{name:"怡莱",id:36},{name:"宝隆居家",id:39},{name:"为波",id:120},{name:"山水时尚",id:98},{name:"都市万锦连锁宾馆",id:156},{name:"青年阳光",id:273},{name:"中安之家",id:86},{name:"未来宜居",id:26},{name:"扬子江",id:24},{name:"卓越",id:160},{name:"万福盈连锁",id:137},{name:"a8",id:117},{name:"悦嘉",id:25},{name:"书香门第",id:27},{name:"有家客栈",id:15},{name:"金泰之家",id:46},{name:"科逸",id:116},{name:"世纪之星",id:55},{name:"百客蛮好",id:57},{name:"申花",id:32},{name:"逸羽",id:42},{name:"斯克莱",id:43},{name:"昆仑乐居",id:167},{name:"麦尔德",id:170},{name:"金狮100",id:187},{name:"和颐",id:65},{name:"安怡之家",id:48},{name:"新宇之星",id:49},{name:"都市118",id:178},{name:"锦江",id:83},{name:"首旅建国",id:84},{name:"金陵集团",id:51},{name:"君澜",id:223},{name:"港中旅",id:101},{name:"海航",id:173},{name:"开元",id:41},{name:"岷山",id:272},{name:"凯莱",id:99},{name:"维景",id:95},{name:"华美达",id:14},{name:"皇冠假日",id:75},{name:"香格里拉",id:11},{name:"假日",id:9},{name:"喜来登",id:10},{name:"最佳西方",id:45},{name:"智选假日",id:77},{name:"戴斯",id:12},{name:"索菲特",id:13},{name:"豪生",id:78},{name:"希尔顿",id:85},{name:"洲际",id:162},{name:"雅诗阁",id:73},{name:"万丽",id:80},{name:"诺富特",id:72},{name:"凯宾斯基",id:54},{name:"万怡",id:81},{name:"铂尔曼",id:71},{name:"万豪酒店",id:79},{name:"威斯汀",id:82},{name:"美居",id:104},{name:"福朋",id:92},{name:"美爵",id:103},{name:"文华东方",id:265},{name:"JW万豪",id:87},{name:"喜达屋",id:110},{name:"雅乐轩",id:93},{name:"君悦",id:263},{name:"四季",id:268},{name:"艾美",id:91},{name:"W饭店",id:89},{name:"商贸",id:269},{name:"丽思卡尔顿",id:255},{name:"康莱德",id:264},{name:"朗廷",id:266},{name:"朗豪",id:267}]

soso_createCityHTML("City1", 1);
soso_boundHotCity("City1_conCity1", hotelHotCity);
soso_boundMoreCity("City1_conCity2", "City1_conCity3", "City1_conCity4", "City1_conCity5", hotelMoreCity);
_$.on("click", function()
{
    _$.dom("#selectCity1").style.display = "block";
    var txtHotelCity1 = _$.dom("#txtHotelCity1");
    txtHotelCity1.select();
	txtHotelCity1.style.color = "#333";
}, "#txtHotelCity1");
//绑定城市控件切换效果
_$.on("click",function()
{
	for(var i=1;i<=5;i++)
	{
		var liid = "city1_liTitle"+i;
		var divid = "City1_conCity"+i;
		if(this.id == liid)
		{
			_$.dom("#"+liid).className = "at";
			_$.dom("#"+divid).className = "six_city_body01 block";
		}
		else
		{
			_$.dom("#"+liid).className = "not";
			_$.dom("#"+divid).className = "six_city_body01 none";
		}
	}
},"#cityTitle1 li");
//绑定点击赋值操作
_$.on("click", function(e)
{
    var b = _$.getTarget(_$.getEvent(e));
    if (b.className === "at02") 
    {
        _$.dom("#txtHotelCity1").value = b.innerHTML;
        _$.dom("#selectCity1").style.display = "none";
		_$.dom("#txtHotelInfo").value = "酒店名/地址/地标";
		//根据城市名称查询城市ID
		hotelSearchCityid(b.innerHTML);
    }
}, "#hotelListCity1");
function hotelSearchCityid(cname)
{
	for(var i=0;i<hotelCitys.length;i++)
	{
		if(cname == hotelCitys[i][0])
		{
			var txtHotelCity1 = _$.dom("#txtHotelCity1");
			txtHotelCity1.setAttribute("labelid","0");
			txtHotelCity1.setAttribute("cityid",hotelCitys[i][3]);
			return;
		}
	}
}
//点击空白操作
_$.on("click", function(e)
{
    _$.validaClick(e, ["#selectCity1", "#txtHotelCity1", "#hotelSubmit"]);
}, document);
//绑定用户输入出现模糊查询
_$.on("keyup", function(e)
{
    _$.dom("#selectCity1").style.display = "none";
	
	var txtValue = _$.dom("#txtHotelCity1");
	txtValue.style.color = "#333";
	if (!e) 
    {
        var e = window.event;
    }
    if (e.keyCode) 
    {
        code = e.keyCode;
    }
    else if (e.which) 
    {
        code = e.which;
    }
    var hidden_dimCity1 = _$("#hidden_dimCity1");
    if (hidden_dimCity1.length > 0) 
    {
        hidden_dimCity1 = hidden_dimCity1[0];
    	if (txtValue.value.length > 0) 
		{
			if (code === 13) 			
			{
				var dimCity1 =  _$.dom("#dimCity1");
				if(dimCity1)
				{
					if (dimCity1.style.display == "none") 
					{
						submitForm();
					}
				}
				else
				{
					submitForm();
				}
				
				if (hidden_dimCity1.value == txtValue.value) 
				{
					soso_useNumber = 1;
					return;
				}
				else
				{
					soso_useNumber = -1;
				}				
                soso_createCityListHTML("City1", "dimCity1", "iframe1");
                soso_matchingCity(txtValue, "dimCity1", "iframe1", hotelCitys, "City1");
                hidden_dimCity1.value = txtValue.value;
			}
			else if (code != 38 && code != 40) 
			{				
				txtValue.setAttribute("labelid","0");
				txtValue.setAttribute("cityid","0");
				_$.dom("#txtHotelInfo").value = "酒店名/地址/地标";
				soso_createCityListHTML("City1", "dimCity1", "iframe1");
				soso_matchingCity(txtValue, "dimCity1", "iframe1", hotelCitys, "City1");
				hidden_dimCity1.value = txtValue.value;
			}
		}
		else
		{
			var dim = _$.dom("#dimCity1");
			if(dim.length != 0)
			{
				dim.style.display = "none";
			}
		}
	}
	else
	{
        hidden_dimCity1 = document.createElement("input");
        hidden_dimCity1.type = "hidden";
        hidden_dimCity1.id = "hidden_dimCity1";
        hidden_dimCity1.value = txtValue.value;
        _$.dom("#City1").appendChild(hidden_dimCity1);
		if(txtValue.value.length>0 && code != 38 && code != 40)
		{
			soso_createCityListHTML("City1", "dimCity1", "iframe1");
            soso_matchingCity(txtValue, "dimCity1", "iframe1", hotelCitys, "City1");
		}
		else
		{
			var dim = _$.dom("#dimCity1");
			if(dim.length != 0)
			{
				dim.style.display = "none";
			}
		}
	}
}, "#txtHotelCity1");
_$.on("click", function(e)
{
    _$.validaClick(e, ["#dimCity1", "#txtHotelCity1"]);
}, document);
_$.on("keyup", function(e)
{
    soso_upKey(e, "dimCity1", "txtHotelCity1","hidden_dimCity1");
}, document);
//鼠标市区焦点后将改变值设为0
_$.on("mouseout", function()
{
    soso_useNumber = 1;
	var tb = _$.dom("#tbl_dimCity1");
	if (tb.length != 0 && tb.style.display!="none") 
	{
		var tr = _$("#tbl_dimCity1 tr");
		if (tr.length > 1) 
		{
			for (var i = 0; i < tr.length; i++) 
			{
				tr[i].className = "aOut";
			}
			tr[1].className = "aHover";
		}
	}
}, "#City1");
//鼠标移入改变样式
_$.on("mouseover", function(e)
{
    var div = _$("#dimCity1");
    if (div.length > 0) 
    {
        div = div[0];
		try 
		{
			var t = div.getElementsByTagName("tr");
			if (div.style.display == "" || div.style.display == "block" || div.style.display == "inline") 
			{
				var b = _$.getTarget(_$.getEvent(e));
				while (b && b.localName != "body") 
				{
					b = b.parentNode;
					if (b != null) 
					{
						if (b == div) 
						{
							if (soso_useNumber >= 1) 
							{
								try 
								{
									if (soso_useNumber == 1) 
									{
										var tr = _$("#tbl_dimCity1 tr");
										if (_$.getTarget(_$.getEvent(e)).parentNode === tr[1]) 
										{ return; }
									}
									if (t[soso_useNumber].className === "aOut" || t[soso_useNumber].className === "aHover") 
									{
										t[soso_useNumber].className = "aOut";
									}
									if (t[soso_useNumber].className === "aOut1" || t[soso_useNumber].className === "aHover1") 
									{
										t[soso_useNumber].className = "aOut1";
									}
								}
								catch(e)
								{
									return;
								}
							}
							soso_useNumber = 0;
						}
					}
				}
			}
		} 
		catch (e) 
		{
			return;
		}	
    }
}, "#City1");

function soso_upTime1()
{
    _$.dom("#txtHotelTime1").style.color = "#333";
    _$.dom("#txtHotelTime2").value = _$.date.getTime(
    {
        date: 1,
        time: _$.dom("#txtHotelTime1").value
    });
	var stime = _$.dom("#txtHotelTime1").value;
	var enddate = _$.date.getTime({month:2,time: _$.date.getTime()}); 
    _$.date.exec( 
    {
        funObj: up_txtHotelTime2,
        starTime: stime,
		endTime:enddate,
        txtTime: "#txtHotelTime2"
    }); 
};

function up_txtHotelTime2()
{
    _$.dom("#txtHotelTime2").style.color = "#333";
    var selTime = _$.dom("#txtHotelTime1").value.split('-');
    var nowTime = _$.dom("#txtHotelTime2").value.split('-');
    
    var selDate = new Date(selTime[0], selTime[1], parseInt(selTime[2], [10]) + 20).getTime();
    var nowDate = new Date(nowTime[0], nowTime[1], nowTime[2]).getTime();
    if (nowDate >= selDate) 
    {
        _$.dom("#hotelTimeErr").style.display = "block";
    }
};
//错误时间信息
_$.on("click", function(e)
{
    _$.validaClick(e, ["#hotelTimeErr", "#hotelSubmit", "#txtHotelTime2", "#PARENTDATETIME"]);
}, document);
//点击价格范围
_$.on("change",function()
{
	_$.dom("#hotelPriceScope").style.color= "#333";
},"#hotelPriceScope");
//酒店信息
_$.on("click", function()
{
    var txtHotelInfo = _$.dom("#txtHotelInfo");
    if (txtHotelInfo.value === "酒店名/地址/地标") 
    {
        txtHotelInfo.value = "";
    }
    txtHotelInfo.style.color = "#333";
    if (txtHotelInfo.value != "") 
    {
        txtHotelInfo.select();
    }
    var txtHotelCity1 = _$.dom("#txtHotelCity1");
	if(txtHotelCity1.value.length<1)
	{
		return;
	}
	var rt = false;
	for(var i=0;i<hotelCitys.length;i++)
	{
		if(txtHotelCity1.value ===hotelCitys[i][0])
		{
			rt = true;
			break;
		}
	}
    if (rt) 
    {
	    var scr = document.createElement("script");
        scr.type = "text/javascript";
        scr.src = soso_ajaxurl + "?action=HotelAutoCompete&cityName=" + encodeURIComponent(txtHotelCity1.value);       
        document.getElementsByTagName('head')[0].appendChild(scr);		
    }
    else 
    {
        _$.dom("#hotelInfo").style.display = "none";
    }
}, "#txtHotelInfo");
_$.on("blur", function()
{
    var txtHotelInfo = _$.dom("#txtHotelInfo");
    if (txtHotelInfo.value.length<=0) 
    {
        txtHotelInfo.value = "酒店名/地址/地标";
    }
}, "#txtHotelInfo");
_$.on("click", function(e)
{
    _$.validaClick(e, ["#hotelInfo", "#txtHotelInfo","#hotelPriceScope"]);
}, document);
//點擊酒店信息
_$.on("click", function(e)
{
    var k = _$("#hotelInfo a");
    var b = _$.getTarget(_$.getEvent(e));
    for (var i = 0; i < k.length; i++) 
    {
        if (k[i] === b) 
        {
            _$.dom("#txtHotelInfo").value = b.innerHTML;
            _$.dom("#hotelInfo").style.display = "none";
			_$.dom("#hotelType").value = b.getAttribute("hotelType");
			_$.dom("#hotelLableId").value = b.getAttribute("hotelLableId");			
            break;
        }
    }	
	_$.dom("#txtHotelInfo").select();
}, "#hotelInfo");
//酒店信息異步模糊查詢
_$.on("keyup", function(e)
{    
	var txtValue = _$.dom("#txtHotelInfo");
	soso_FindValue = txtValue.value;
	if (!e) 
    {
        var e = window.event;
    }
    if (e.keyCode) 
    {
        code = e.keyCode;
    }
    else if (e.which) 
    {
        code = e.which;
    }
	if(code == 9)
	{
		return;
	}
	_$.dom("#hotelInfo").style.display = "none";	
    var hidden_dimCity1 = _$("#hidden_dimCity99");
    if (hidden_dimCity1.length > 0) 
    {
        hidden_dimCity1 = hidden_dimCity1[0];
    	if (txtValue.value.length > 0) 
		{
			if (code === 13) 			
			{
				var dimCity99 =  _$.dom("#dimCity99");
				if(dimCity99.length != 0)
				{
					if (dimCity99.style.display == "none") 
					{
						submitForm();
					}
				}
				else
				{
					submitForm();
				}
				
				if (hidden_dimCity1.value == txtValue.value) 
				{
					soso_useNumber = 1;
					return;
				}
				else
				{
					soso_useNumber = -1;
				}				
                soso_Validation(2,txtValue.value);
                hidden_dimCity1.value = txtValue.value;				
			}
			else if (code != 38 && code != 40) 
			{
				_$.dom("#hotelType").value = "1";
				_$.dom("#hotelLableId").value = "1";				
				soso_Validation(2,txtValue.value);
				hidden_dimCity1.value = txtValue.value;				
			}
		}
		else
		{
			var dim = _$.dom("#dimCity99");
			if(dim.length != 0)
			{
				dim.style.display = "none";
			}
		}
	}
	else if(code == 13)
	{
		submitForm();
	}
	else
	{
        hidden_dimCity1 = document.createElement("input");
        hidden_dimCity1.type = "hidden";
        hidden_dimCity1.id = "hidden_dimCity99";
		hidden_dimCity1.style.marginTop = "-7px";
        hidden_dimCity1.value = txtValue.value;
        _$.dom("#hotelInfo_list").appendChild(hidden_dimCity1);
		if(txtValue.value.length>0 && code != 38 && code != 40)
		{
			soso_Validation(2,txtValue.value);
		}
		else
		{
			var dim = _$.dom("#dimCity99");
			if(dim.length != 0)
			{
				dim.style.display = "none";
			}
		}
	}
}, "#txtHotelInfo");
//鼠标移入改变样式

_$.on("mouseover", function(e)
{
    var div = _$("#dimCity99");
    if (div.length > 0) 
    {
        div = div[0];
		var t = div.getElementsByTagName("tr");
        if (div.style.display == "" || div.style.display == "block" || div.style.display == "inline") 
        {
            var b = _$.getTarget(_$.getEvent(e));
            while (b && b.localName != "body") 
            {
                b = b.parentNode;
                if (b != null) 
                {
                    if (b == div) 
                    {                        
                        if (soso_useNumber >= 1) 
						{	
							try 
							{
								if (soso_useNumber == 1) 
								{
									var tr = _$("#tbl_dimCity99 tr");
									if (_$.getTarget(_$.getEvent(e)).parentNode === tr[1]) 
									{ return; }
								}
								if (t[soso_useNumber].className === "aOut" || t[soso_useNumber].className === "aHover") 
								{
									t[soso_useNumber].className = "aOut";
								}
								if (t[soso_useNumber].className === "aOut1" || t[soso_useNumber].className === "aHover1") 
								{
									t[soso_useNumber].className = "aOut1";
								}
							}
							catch(e)
							{
								return;
							}
						}                     
                        soso_useNumber = 1;
                    }
                }
            }
        }
    }
}, "#hotelInfo_list");

//鼠标市区焦点后将改变值设为0
_$.on("mouseout", function()
{
    soso_useNumber = 1;
	var tb = _$.dom("#dimCity99");
	if (tb.length != 0 && tb.style.display!="none") 
	{
		var tr = _$("#dimCity99 tr");
		if (tr.length > 1) 
		{
			for (var i = 0; i < tr.length; i++) 
			{
				tr[i].className = "aOut";
			}
			tr[1].className = "aHover";
		}
	}
}, "#hotelInfo_list");


_$.on("keyup", function(e)
{
    soso_upKey(e, "dimCity99", "txtHotelInfo","hidden_dimCity99");
}, document);

_$.on("click", function(e)
{
    _$.validaClick(e, ["#dimCity99", "#txtHotelInfo"]);
}, document);
_$.on("click", function(e)
{
    _$.validaClick(e, ["#hotelCityErr","#hotelSubmit"]);
}, document);
/******表单提交******/
_$.on("click", function()
{
    submitForm();
}, "#hotelSubmit");
function submitForm()
{
	var rt = true;
    var txtHotelCity1 = _$.dom("#txtHotelCity1");
    if (txtHotelCity1.value.length < 1 || txtHotelCity1.value === "城市名") 
    {
        _$.dom("#hotelCityErr").style.display = "block";
        _$.dom("#selectCity1").style.display = "block";
		_$.dom("#txt_hotelCityErr").innerHTML = "请选择您要入住的城市名称";
        txtHotelCity1.focus();
        return false;
    }
    else 
    {
        var rtValue = false;
		var city_id = txtHotelCity1.getAttribute("cityid");
		var label_id = txtHotelCity1.getAttribute("labelid");
		if (city_id && city_id != "0") 
		{
			rtValue = true;
		}
		else 
		{
			for (var i = 0; i < hotelCitys.length; i++) 
			{
				if (txtHotelCity1.value == hotelCitys[i][0]) 
				{
					city_id = hotelCitys[i][3];
					label_id = "0";					
					rtValue = true;
					break;
				}
			}
		}
        var txtHotelTime1 = _$.dom("#txtHotelTime1").value;
        var txtHotelTime2 = _$.dom("#txtHotelTime2").value;
        if (txtHotelTime1.length != 10 && txtHotelTime1.length != 9) 
        {
            var enddate = _$.date.getTime(
            {
                month: 2,
                time: _$.date.getTime()
            });
            _$.date.exec(
            {
                funObj: soso_upTime1,
                endTime: enddate,
                txtTime: "#txtHotelTime1"
            });
			return;
        }
        
        if (txtHotelTime2.length != 10 && txtHotelTime1.length != 9) 
        {
            _$.dom("#hotelTimeErr").style.display = "none";
            var stime = _$.dom("#txtHotelTime1").value;
            var enddate = _$.date.getTime(
            {
                month: 2,
                time: _$.date.getTime()
            });
            _$.date.exec(
            {
                funObj: up_txtHotelTime2,
                starTime: stime,
                endTime: enddate,
                txtTime: "#txtHotelTime2"
            });
			
			return;
        }
		//设置时间COOKIE
		soso_setCookies(txtHotelTime1,txtHotelTime2);
		         
		if (rtValue) 
		{
		
			var selTime = _$.dom("#txtHotelTime1").value.split('-');
			var nowTime = _$.dom("#txtHotelTime2").value.split('-');
			
			var selDate = new Date(selTime[0], selTime[1], parseInt(selTime[2], [10]) + 20).getTime();
			var nowDate = new Date(nowTime[0], nowTime[1], nowTime[2]).getTime();
			if (nowDate >= selDate) 
			{
				_$.dom("#hotelTimeErr").style.display = "block";
				rt = false;
			}
			else 			
			{
				//酒店提交
				var ddlPrice = _$.dom("#hotelPriceScope").value; //价格
				var hotelCommerce = label_id; //商业区
				var hotelFacility = 0; //行政区
				var hotelBrand = 0;	   //品牌
				if(city_id.indexOf("#") != -1)
				{
					hotelFacility = city_id.split("#")[1];
					city_id = city_id.split("#")[0];					
				}
				var hotelType = _$.dom("#hotelType").value;
				var hotelLableId = _$.dom("#hotelLableId").value;
				var ispoi = true;
				if (!label_id || label_id == "" || label_id == "1" || label_id == "0") 
				{			
					if (hotelLableId != "1") 
					{
						switch (hotelType)
						{
							case "0":
								hotelBrand = hotelLableId;
								break;
							case "1":
								label_id = hotelLableId;
								ispoi = false;
								break;
							case "2":
								hotelCommerce = hotelLableId;
								break;
							case "3":
								hotelBrand = hotelLableId;
								break;
						}
					}
				}
				else
				{
					ispoi = false;
				}
				var txtHotelInfo = _$.dom("#txtHotelInfo").value;
				if (_$.trim(txtHotelInfo).length == 0 || txtHotelInfo.indexOf("酒店名/") != -1) 
				{
					if (ispoi) 
					{//list-goto
						window.location.href = "http://www.17u.cn/SearchList_" + city_id + "_" + hotelFacility + "_" + hotelCommerce + "_0__0__" + hotelBrand + "_0_" + ddlPrice + "___0_1_0___0.html";
					}
					else 
					{//poi-goto
						window.location.href = "http://www.17u.cn/hotel/poi_" + city_id + "_0_" + label_id + "_1_1.html";
					}
				}
				else
				{
					if (hotelLableId != "1") 
					{//poi-goto
						if (ispoi) 
						{//list-goto
							window.location.href = "http://www.17u.cn/SearchList_" + city_id + "_" + hotelFacility + "_" + hotelCommerce + "_0__0__" + hotelBrand + "_0_" + ddlPrice + "___0_1_0___0.html";
						}
						else 
						{//poi-goto
							window.location.href = "http://www.17u.cn/hotel/poi_" + city_id + "_0_" + label_id + "_1_1.html";
						}
					}
					else 
					{//search-goto
						window.location.href = "http://www.17u.cn/hotel/search/" + txtHotelCity1.value + "-" + txtHotelInfo + "-" + city_id + ".html";
					}
				}
			}
		}
		else
		{			
			var strHost= null;
			if(window.location.host.indexOf("192.168.") != -1　|| window.location.host.indexOf("172.16.") != -1)
			{
            	//strHost="http://172.16.2.21:81";
				strHost="http://www.17u.cn";
			}
            else
			{
            	strHost="http://www.17u.cn";
			}
			strHost += "/Hotel/HotelAjax.aspx?action=defaultScenery&keys="+encodeURIComponent(txtHotelCity1.value)+"&random="+Math.random()+"&jsoncallback=get_cityInfoAPI_num";
			_$.jsonAjax(strHost);
//			_$.dom("#hotelCityErr").style.display = "block";
//			_$.dom("#txt_hotelCityErr").innerHTML = "您查询的城市不存在,请重新选择!";
//			_$.dom("#selectCity1").style.display = "block";
//			txtHotelCity1.focus();
		}
    }
}
function get_cityInfoAPI_num(str)
{	
	try 
	{
		var value = eval(str);
		if (value.Scnery.length > 0) 
		{
			var selTime = _$.dom("#txtHotelTime1").value.split('-');
			var nowTime = _$.dom("#txtHotelTime2").value.split('-');
			
			var selDate = new Date(selTime[0], selTime[1], parseInt(selTime[2], [10]) + 20).getTime();
			var nowDate = new Date(nowTime[0], nowTime[1], nowTime[2]).getTime();
			if (nowDate >= selDate) 
			{
				_$.dom("#hotelTimeErr").style.display = "block";
				rt = false;
			}
			else 
			{
				var id = value.Scnery[0].CityId + "$" + value.Scnery[0].LabelId;
				var txt = _$.dom("#txtHotelCity1").value;
				for(var i=0;i<value.Scnery.length;i++)
				{
					if(value.Scnery[i].SceneryName == txt)
					{
						id = value.Scnery[i].CityId + "$" + value.Scnery[i].LabelId;
						break;
					}
				}
				//酒店提交
				var scr = document.createElement("script");
				scr.type = "text/javascript";
				scr.src = soso_ajaxurl + "?action=hotelsearch&sceneryId=" + id + "&CityName=" + encodeURIComponent(_$.dom("#txtHotelCity1").value) +
				"&sDate=" +
				_$.dom("#txtHotelTime1").value +
				"&eDate=" +
				_$.dom("#txtHotelTime2").value +
				"&ddlPrice=" +
				_$.dom("#hotelPriceScope").value +
				"&HotelInfo=" +
				encodeURIComponent(_$.dom("#txtHotelInfo").value) +
				"&hotelType=" +
				_$.dom("#hotelType").value +
				"&hotelLableId=" +
				_$.dom("#hotelLableId").value;
				
				document.getElementsByTagName('head')[0].appendChild(scr);
				return rt;
			}
		}
		else 
		{
			_$.dom("#hotelCityErr").style.display = "block";
			_$.dom("#txt_hotelCityErr").innerHTML = "您查询的城市不存在,请重新选择!";
			_$.dom("#selectCity1").style.display = "block";
			txtHotelCity1.focus();
		}
	}
	catch(e)
	{
		return;
	}
}
//酒店信息
function fillAutoCompete(value)
{
	var str  = null;
	try
	{
		str =  eval("(" + value + ")");
	}
	catch(e)
	{
		return;
	}	
	var hotelInfo = _$.dom("#hotelInfo");
	hotelInfo.innerHTML = "";
	hotelInfo.style.display = "inline";
	
	for (var i = 0; i < str.length; i++) 
	{
		var div = document.createElement("div");
		div.className = "hotel_sou_xinxi01";
		hotelInfo.appendChild(div);
		var div1 = document.createElement("div");
		div1.className = "hotel_sou_xinxi01_01";
		div.appendChild(div1);
		var h4 = document.createElement("h4");
		h4.innerHTML = str[i].title;
		div1.appendChild(h4);
		
		if (i == 0) 
		{
			var span_img = document.createElement("span");
			span_img.className = "claseSp1";
			span_img.id = "closeInfo";
			span_img.onclick = function()
			{
				_$.dom("#hotelInfo").style.display = "none";
			}
			div1.appendChild(span_img);
		}
		var ul = document.createElement("ul");
		ul.className = "hotel_sou_xinxi01_02";
		div.appendChild(ul);
		for (var k = 0; k < str[i].content.length; k++) 
		{
			var li = document.createElement("li");
			ul.appendChild(li);
			var contentArray = str[i].content[k].split("#");
			var alink = document.createElement("a");
			alink.href = "javascript:void(0)";
			alink.title = contentArray[0];
			alink.innerHTML = contentArray[0];
			alink.setAttribute('hotelType', contentArray[1]);
			alink.setAttribute('hotelLableId', contentArray[2]);
			
			li.appendChild(alink);
		}
	}
}

function fillTagByKeys(value)
{
	var str  = null;
	
	try
	{
		if(value=="['']" || value=="[]")
		{
			_$.dom("#dimCity99").style.display = "none";
			return;
		}
		str =  eval("(" + value + ")");
		
	}
	catch(e)
	{
		return;
	}
	soso_createCityListHTML("hotelInfo_list", "dimCity99", "iframe99");
    soso_matchingHotelInfo("dimCity99", "iframe99", str);
}
function get_cityInfoAPI(str)
{
	try 
	{
		var value = eval(str);
		var div = _$.dom("#dimCity1");
		var tbl = _$.dom("#tbl_dimCity1");
		while (tbl.rows.length > 0) 
		{
			tbl.deleteRow(0);
		}
		//设置ifrme高度
		_$.dom("#iframe1").style.height = ((value.Scnery.length + 1) * 19) + "px";
		if (value.Scnery.length > 0) 
		{
			var tr = document.createElement("tr");
			tbl.appendChild(tr);
			var td = document.createElement("td");
			td.colSpan = "2";
			td.className = "tbl_td1";
			td.innerHTML = "输入中文/拼音/或↑↓键选择";
			tr.appendChild(td);
		}
		else 
		{
			var tr = document.createElement("tr");
			tbl.appendChild(tr);
			var td = document.createElement("td");
			td.colSpan = "2";
			td.className = "tbl_td1";
			td.innerHTML = "对不起 ,找不到:" + soso_FindValue;
			tr.appendChild(td);
			td.style.color = "#ff6600";
		}
		
		//添加新查询数据
		for (var i = 0; i < value.Scnery.length; i++) 
		{
			var tr = document.createElement("tr");
			tr.className = "aOut";
			if (i == 0) 
			{
				tr.className = "aHover";
			}
			var td1 = document.createElement("td");
			td1.innerHTML = value.Scnery[i].SceneryName;	
			td1.setAttribute("cityid",value.Scnery[i].CityId);
			td1.setAttribute("labelid",value.Scnery[i].LabelId);			
			td1.className = "td_lef";
			
			var td2 = document.createElement("td");
			td2.innerHTML = value.Scnery[i].CityName;					
			td2.className = "td_rgt";
			tr.appendChild(td1);
			tr.appendChild(td2);
			tr.onmouseover = function()
			{
				this.className = "aHover";
			}
			tr.onmouseout = function()
			{
				this.className = "aOut";
			}
			tr.onclick = function()
			{
				var this_td = this.getElementsByTagName("td");
				var txt = _$.dom("#txtHotelCity1");
				txt.value = this_td[0].innerHTML;
				txt.setAttribute("cityid", this_td[0].getAttribute("cityid"));
				txt.setAttribute("labelid", this_td[0].getAttribute("labelid"));
				_$.dom("#dimCity1").style.display = "none";
			}
			tbl.appendChild(tr);
		}
		div.style.display = "block";
	}
	catch(e)
	{
		return;
	}
}
//酒店模糊信息
function soso_matchingHotelInfo(dimid, ifrmeid, citys)
{
    soso_useNumber = 0;
	_$.dom("#hotelType").value = "1";
	_$.dom("#hotelLableId").value = "1";
	var div = document.getElementById(dimid);
    var tbl = _$.dom("#tbl_" + dimid);
    while (tbl.rows.length > 0) 
    {
        tbl.deleteRow(0);
    }
    //设置ifrme高度
    document.getElementById(ifrmeid).style.height = (citys.length * 19) + "px";
    if(citys.length>=1)
	{
		 var tr = document.createElement("tr");
			tbl.appendChild(tr);
		 var td = document.createElement("td");
			td.colSpan = "2";
			td.className = "tbl_td1";
			td.innerHTML = "输入中文/拼音/或↑↓键选择";
			tr.appendChild(td);
	}
	if(soso_typeAjax == 1 && citys.length > 0)
	{
		var tr = document.createElement("tr");
        tr.className = "aOut";
        var td1 = document.createElement("td");
        td1.innerHTML = _$.dom("#txtHotelCity1").value + "所有"+soso_brandName+"酒店";
		td1.setAttribute("labelId",soso_brandId);
		td1.setAttribute("Brand",0);
        td1.className = "td_lef";
        tr.appendChild(td1);
        tr.onmouseover = function()
        {
            this.className = "aHover";
        }
        tr.onmouseout = function()
        {
            this.className = "aOut";
        }
        tr.onclick = function()
        {
            var this_td = this.getElementsByTagName("td");
            _$.dom("#txtHotelInfo").value = this_td[0].innerHTML;
			_$.dom("#hotelLableId").value = this_td[0].getAttribute("labelId");
			_$.dom("#hotelType").value = "0";
            document.getElementById(dimid).style.display = "none";
        }
        tbl.appendChild(tr);
	}
    //添加新查询数据
    for (var i = 0; i < citys.length; i++) 
    {
        var tr = document.createElement("tr");
        tr.className = "aOut";
		if(i==0&&citys[0]=="")
		{
			break;
		}
        var td1 = document.createElement("td");
        td1.innerHTML = citys[i].name;
		td1.setAttribute("labelId",citys[i].id);
        td1.className = "td_lef";
        tr.appendChild(td1);
        tr.onmouseover = function()
        {
            this.className = "aHover";
        }
        tr.onmouseout = function()
        {
            this.className = "aOut";
        }
        tr.onclick = function()
        {
            var this_td = this.getElementsByTagName("td");
            _$.dom("#txtHotelInfo").value = this_td[0].innerHTML;
			_$.dom("#hotelLableId").value = this_td[0].getAttribute("labelId");			
            document.getElementById(dimid).style.display = "none";
			_$.dom("#hotelType").value = "1";
        }
        tbl.appendChild(tr);
    }
	var coored = _$("#txtHotelInfo").coord();
	div.style.top = coored.top + 20 + "px";
	div.style.left = coored.left + "px";
    div.style.display = "block";
};
//最近查詢信息
function upSearchinfo()
{
    //显示查询信息
    var hotelsearch = _$.cookie.get("hotelsearchinfo");
    if (hotelsearch) 
    {
        _$.dom("#hotel_searchinfo").style.display = ""; 
		var txt = hotelsearch.split("||") 
		var hotel_searchlist = _$.dom("#hotel_searchlist");
		hotel_searchlist.innerHTML = "";
		for(var i=txt.length-1;i>=0;i--)
		{
			var t = txt[i].split("$$$");
			hotel_searchlist.innerHTML += "<li><a target='_blank' href='"+t[1]+"' title='"+t[0]+"'>"+t[0]+"</a></li>";
		}		
    }
	else
	{
		_$.dom("#hotel_searchinfo").style.display = "none";
	}
}
if(_$("#hotel_searchinfo").length != 0)
{
	upSearchinfo();
}
//景点推荐
_$.on("click", function(e)
{
    var b = _$.getTarget(_$.getEvent(e));	
    if (b.className === "not") 
    {
        var li = _$("#gcut_sight li");
        for (var i = 0; i < li.length; i++) 
        {
            li[i].className = "not";
            _$.dom("#tab_info0" + (i + 1)).style.display = "none";
            if (li[i] == b) 
            {
                b.className = "at";
               _$.dom("#tab_info0" + (i + 1)).style.display = "block";
            }
        }        
    }
}, "#gcut_sight");
//特价机票
_$.on("click", function(e)
{
 	var b = _$.getTarget(_$.getEvent(e));
    if (b.className === "not") 
    {
        var li = _$("#gcut_cityto li");
        for (var i = 0; i < li.length; i++) 
        {
            li[i].className = "not";
           _$.dom("#citytc_info" + (i + 1)).style.display = "none";
            if (li[i] == b) 
            {
                b.className = "at";
                _$.dom("#citytc_info" + (i + 1)).style.display = "block";
            }
        }        
    }
}, "#gcut_cityto");
//鼠標效果
function show_explain(b)
{
    var ili = b.getElementsByTagName("i");
    if (ili.length > 0) 
    {
        ili[0].style.display = "inline";
    }
}

function close_explain(b)
{
    var ili = b.getElementsByTagName("i");
    if (ili.length > 0) 
    {
        ili[0].style.display = "none";
    }
}
//异步数据请求
function soso_Validation(mNum,city)
{
	var keys =  _$.dom("#txtHotelInfo");
    var cityName =  _$.dom("#txtHotelCity1"); 
	if (mNum == 2 && keys.value.length > 0 && cityName.value.length > 0) 
	{		
		soso_typeAjax = 0;
		for (var i = 0; i < brandArray.length; i++) 
		{
			if (brandArray[i].name == keys.value) 
			{
				soso_typeAjax = 1;
				soso_brandId = brandArray[i].id;
				soso_brandName = brandArray[i].name;
				break;
			}
		}
		//var src = soso_ajaxurl + "?action=GetXmlTagByKeys&cityName=" + encodeURIComponent(cityName.value) + "&keyType="+typeAjax+"&keys=" + encodeURIComponent(city);
		var src = "http://www.17u.cn/Hotel/DefaultAjaxCallSubmit.aspx?action=GetXmlTagByKeys&cityName=" + encodeURIComponent(cityName.value) + "&keyType="+soso_typeAjax+"&keys=" + encodeURIComponent(city)+"&v="+ Math.random();
		_$.jsonAjax(src);
	}
};
function HotelLeft_btm()
{
	var ap = _$.dom("#hotelleftbtm");
	if (ap.length == 0) 
	{ return; }
	
	var img = document.createElement("img");
	img.src = ap.getAttribute("nsrc");
	img.alt = ap.getAttribute("nalt");
	ap.appendChild(img);
}
HotelLeft_btm();


function soso_setCookies(comTime,leaveTime)
{
	
	if(window.location.host.indexOf(".17u.com") != -1)
	{
		var hoteldate = _$.cookie.get("hoteldate");
		if(hoteldate)
		{
			try 
			{
				var dn = hoteldate.indexOf("linetxtComeDate");
				var cookieStr = "";
				if (dn != -1) 
				{
					cookieStr = hoteldate.substring(0, dn) + "linetxtComeDate=" + comTime + "&line_txtoutDate=" + leaveTime;
				}
				else
				{
					cookieStr = hoteldate + "&linetxtComeDate=" + comTime + "&line_txtoutDate=" + leaveTime;
				}
                _$.cookie.set(
                {
                    name: "hoteldate",
                    value: cookieStr,
                    days: 1,
                    domain: ".17u.com",
                    path: "/",
                    encode: false
                });
			}
			catch(e)
			{
                _$.cookie.set(
                {
                    name: "hoteldate",
                    value: "linetxtComeDate=" + comTime + "&line_txtoutDate=" + leaveTime,
                    days: 1,
                    domain: ".17u.com",
                    path: "/",
                    encode: false
                });	
			}
		}
		else
		{
            _$.cookie.set(
            {
                name: "hoteldate",
                value: "linetxtComeDate=" + comTime + "&line_txtoutDate=" + leaveTime,
                days: 1,
                domain: ".17u.com",
                path: "/",
                encode: false
            });	
		}
	}
	else if(window.location.host.indexOf(".17u.net") != -1)
	{
		_$.cookie.set({
			name: "linetxtcomeDate",
			value: comTime,
			days: 1,
			domain: ".17u.net",
			path: "/",
			encode: false
		});	
        _$.cookie.set(
        {
            name: "linetxtoutDate",
            value: leaveTime,
            days: 1,
            domain: ".17u.net",
            path: "/",
            encode: false
        });		
	}
	else
	{
        _$.cookie.set(
        {
            name: "CnHotelDate",
            value: "CnHotelComeDate=" + comTime + "&CnHotelLeaveDate=" + leaveTime + "&CnHotelPrice=" + _$.dom("#hotelPriceScope").value + "&CnHotelCity=" + encodeURIComponent(_$.dom("#txtHotelCity1").value),
            path: "/",
            days: 1,
            encode: false
        });      
	}
}
function bandHotelDate()
{
	//綁定默認日期
	
	if (_$.date) 
	{
		var cookieDate = _$.cookie.get("CnHotelDate");
		var d = new Date();
		var rt = false;
		if(d.getHours() > 18)
		{
			rt = true;
		}
		if(d.getHours() == 18)
		{
			if(d.getMinutes() >= 30)
			{
				rt = true;
			}
		}		
		var date1 = rt == false ? _$.date.getTime() : _$.date.getTime({time:_$.date.getTime(),date:1});
		var date2 = rt == false ? _$.date.getTime({time:_$.date.getTime(),date:1}) : _$.date.getTime({time:_$.date.getTime(),date:2});		
		if (cookieDate) 
		{
			try 
			{
				var stardate = _$.cookie.get("CnHotelDate", "CnHotelComeDate");
				var endDate = _$.cookie.get("CnHotelDate", "CnHotelLeaveDate");
                var srt = _$.date.getTime({time: stardate, thanTime: date1});
				if (srt == -1) 
				{
					_$.dom("#txtHotelTime1").value = date1;
				}
				else 
				{
					_$.dom("#txtHotelTime1").value = stardate;
				}
				srt = _$.date.getTime({time: endDate, thanTime: date2});
				if (srt == -1) 
				{
					_$.dom("#txtHotelTime2").value = date2;					
				}
				else 
				{
					_$.dom("#txtHotelTime2").value = endDate;
				}
				var city = _$.cookie.get("CnHotelDate", "CnHotelCity");
				if (city && city != "") 
				{
					_$.dom("#txtHotelCity1").value = decodeURIComponent(city);
				}
			} 
			catch (e) 
			{
				_$.dom("#txtHotelTime1").value = date1;
				_$.dom("#txtHotelTime2").value = date2;
				_$.dom("#txtHotelCity1").value = "北京";
			}
		}
		else 
		{
			_$.dom("#txtHotelTime1").value = date1;
			_$.dom("#txtHotelTime2").value = date2;
			_$.dom("#txtHotelCity1").value = "北京";
		}
		
		//入住日期
		_$.on("click", function()
		{
			var enddate = _$.date.getTime({month:2,time: _$.date.getTime()}); 
		    _$.date.exec( 
		    {
		        funObj: soso_upTime1,
				endTime:enddate,
		        txtTime: "#txtHotelTime1"
		    });
		}, "#txtHotelTime1");
		//离店日期
		_$.on("click", function()
		{
		    _$.dom("#hotelTimeErr").style.display = "none";
		    var stime = _$.dom("#txtHotelTime1").value;
			var enddate = _$.date.getTime({month:2,time: _$.date.getTime()}); 
		    _$.date.exec( 
		    {
		        funObj: up_txtHotelTime2,
		        starTime: stime,
				endTime:enddate,
		        txtTime: "#txtHotelTime2"
		    });    
		}, "#txtHotelTime2");
		
		_$.date.txtArray.push("#hotelSubmit");
	}
	else
	{
		setTimeout("bandHotelDate()");
	}
	
}
bandHotelDate();
function userBand_txtHotelCity1()
{
	_$.dom("#selectCity1").style.display = "none";
	var dim = _$.dom("#dimCity1");
	if (dim.length != 0) 
	{
		dim.style.display = "none";
	}
	var enddate = _$.date.getTime(
	{
		month: 2,
		time: _$.date.getTime()
	});
	_$.date.exec(
	{
		funObj: soso_upTime1,
		endTime: enddate,
		txtTime: "#txtHotelTime1"
	});
}
function userBand_txtHotelTime1()
{
	_$.dom("#hotelTimeErr").style.display = "none";
	var stime = _$.dom("#txtHotelTime1").value;
	var enddate = _$.date.getTime(
	{
		month: 2,
		time: _$.date.getTime()
	});
	_$.date.exec(
	{
		funObj: up_txtHotelTime2,
		starTime: stime,
		endTime: enddate,
		txtTime: "#txtHotelTime2"
	});
	_$.dom("#txtHotelTime2").select();
}
function userBand_txtHotelTime2()
{
	_$.dom("#PARENTDATETIME").style.display = "none";
	var sel = _$.dom("#hotelPriceScope");
	var prent = sel.parentNode.parentNode;
	if (prent.style.display != "none") 
	{
		sel.focus();
		sel.style.color = "#333";
	}
	else
	{
		userBand_hotelPriceScope();
	}
}
function userBand_hotelPriceScope()
{	
	var txtHotelInfo = _$.dom("#txtHotelInfo");
    if (txtHotelInfo.value === "酒店名/地址/地标") 
    {
        txtHotelInfo.value = "";
    }
    txtHotelInfo.style.color = "#333";
    if (txtHotelInfo.value != "") 
    {
        txtHotelInfo.select();
    }
    var txtHotelCity1 = _$.dom("#txtHotelCity1");
	if(txtHotelCity1.value.length<1)
	{
		return;
	}
	var rt = false;
	for(var i=0;i<hotelCitys.length;i++)
	{
		if(txtHotelCity1.value ===hotelCitys[i][0])
		{
			rt = true;
			break;
		}
	}
    if (rt) 
    {
	    var scr = document.createElement("script");
        scr.type = "text/javascript";
        scr.src = soso_ajaxurl + "?action=HotelAutoCompete&cityName=" + encodeURIComponent(txtHotelCity1.value);       
        document.getElementsByTagName('head')[0].appendChild(scr);		
    }
    else 
    {
        _$.dom("#hotelInfo").style.display = "none";
    }	
	setTimeout(function()
	{
		_$.dom("#txtHotelInfo").focus();
	},250);
}

function userBand_txtHotelInfo()
{
	_$.dom("#hotelInfo").style.display = "none";
	var dim = _$.dom("#dimCity99");
	if(dim.length != 0)
	{
		dim.style.display = "none";
	}
}
function show_explain(b)
{
    var ili = b.getElementsByTagName("i");
    if (ili.length > 0) 
    {
        ili[0].style.display = "inline";
    }
}

function close_explain(b)
{
    var ili = b.getElementsByTagName("i");
    if (ili.length > 0) 
    {
        ili[0].style.display = "none";
    }
}